Skip to content

Commit a5789d1

Browse files
#248: Remove default features
Now that we are thoroughly embedded in libcore, we don't need these on by default. Indeed, their presence may provide confusing results during integration attempts.
1 parent 5f49d4c commit a5789d1

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

crates/core_simd/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ categories = ["hardware-support", "no-std"]
99
license = "MIT OR Apache-2.0"
1010

1111
[features]
12-
default = ["std", "generic_const_exprs"]
12+
default = []
1313
std = []
1414
generic_const_exprs = []
1515

crates/core_simd/tests/round.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ macro_rules! float_rounding_test {
99
type Scalar = $scalar;
1010
type IntScalar = $int_scalar;
1111

12-
#[cfg(feature = "std")]
1312
test_helpers::test_lanes! {
1413
fn ceil<const LANES: usize>() {
1514
test_helpers::test_unary_elementwise(

crates/std_float/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2021"
66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77

88
[dependencies]
9-
core_simd = { path = "../core_simd" }
9+
core_simd = { path = "../core_simd", default-features = false }
1010

1111
[features]
1212
default = ["as_crate"]

0 commit comments

Comments
 (0)