Skip to content

Commit

Permalink
Use dep: style features for rustc-dep-of-std (#564)
Browse files Browse the repository at this point in the history
This prevents this crate from having features `compiler_builtins` and
`core`. I didn't initially add this because it requires an MSRV of 1.60,
but our MSRV is 1.63 now, so this is OK.
  • Loading branch information
josephlr authored Dec 13, 2024
1 parent 83bef12 commit 3425cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ wasm-bindgen-test = "0.3"
# use std to retrieve OS error descriptions
std = []
# Unstable feature to support being a libstd dependency
rustc-dep-of-std = ["compiler_builtins", "core"]
rustc-dep-of-std = ["dep:compiler_builtins", "dep:core"]

[lints.rust.unexpected_cfgs]
level = "warn"
Expand Down

0 comments on commit 3425cf4

Please sign in to comment.