File tree Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Expand file tree Collapse file tree 3 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 1212 commands :
1313 - cargo build --verbose --all
1414 - cargo test --verbose --all
15-
1615---
1716
1817kind : pipeline
@@ -32,6 +31,23 @@ steps:
3231
3332---
3433
34+ kind : pipeline
35+ name : test-on-pre-sse42
36+
37+ platform :
38+ arch : amd64
39+
40+ steps :
41+ - name : test
42+ image : rust:1
43+ environment :
44+ RUSTFLAGS : ' -C target-cpu=native -C target-feature=-avx2,-sse4.2'
45+ commands :
46+ - cargo build --verbose --all
47+ - cargo test --verbose --all
48+
49+ ---
50+
3551kind : pipeline
3652name : test-on-arm64
3753
Original file line number Diff line number Diff line change @@ -89,11 +89,11 @@ pub use crate::avx2::deser::*;
8989#[ cfg( target_feature = "avx2" ) ]
9090use crate :: avx2:: stage1:: SIMDJSON_PADDING ;
9191
92- #[ cfg( all ( target_feature = "sse4.2" , not( target_feature = "avx2" ) ) ) ]
92+ #[ cfg( not( target_feature = "avx2" ) ) ]
9393mod sse42;
94- #[ cfg( all ( target_feature = "sse4.2" , not( target_feature = "avx2" ) ) ) ]
94+ #[ cfg( not( target_feature = "avx2" ) ) ]
9595pub use crate :: sse42:: deser:: * ;
96- #[ cfg( all ( target_feature = "sse4.2" , not( target_feature = "avx2" ) ) ) ]
96+ #[ cfg( not( target_feature = "avx2" ) ) ]
9797use crate :: sse42:: stage1:: SIMDJSON_PADDING ;
9898
9999mod stage2;
Original file line number Diff line number Diff line change 22#[ cfg( target_feature = "avx2" ) ]
33use crate :: avx2:: stage1:: SIMDJSON_PADDING ;
44use crate :: charutils:: * ;
5- #[ cfg( all ( target_feature = "sse4.2" , not( target_feature = "avx2" ) ) ) ]
5+ #[ cfg( not( target_feature = "avx2" ) ) ]
66use crate :: sse42:: stage1:: SIMDJSON_PADDING ;
77use crate :: { Deserializer , Error , ErrorType , Result } ;
88
You can’t perform that action at this time.
0 commit comments