This commit alters the test suite to unconditionally compile and run all tests, regardless of the ambient target features enabled. This then uses a new convenience macro, `#[simd_test]`, to guard all tests with the appropriate `cfg_feature_enabled!` and also enable the `#[target_feature]` appropriately.
11 lines
258 B
TOML
11 lines
258 B
TOML
[package]
|
|
name = "simd-test-macro"
|
|
version = "0.1.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
|
|
[lib]
|
|
proc-macro = true
|
|
|
|
[dependencies]
|
|
proc-macro2 = { version = "0.1", features = ["unstable"] }
|
|
quote = { git = 'https://github.com/dtolnay/quote' }
|