Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10a8b02

Browse files
committed
build: markno_std as legacy feature flag
The `no_std` feature flag has no effect, anymore (as already documentedin `README.md`). Document this in `Cargo.toml`, but retain it forbackwards compatibility.Note that for better cross-package composability, an `std` flag wouldlikely be preferred in the future, over a `no_std` flag. The formerallows multiple packages with different preferences on this feature tobe combined in a single build, while the latter does not.Hence, suggest that `no_std` as feature flag is a legacy compatibilityflag, and will not be used in the future.
1 parent9c62534 commit10a8b02

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Cargo.toml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ compiler_builtins = { version = "0.1", optional = true }
2424

2525
[features]
2626
default = []
27-
no_std = []
2827
bench = []
2928
rustc-dep-of-std = ['std','core','compiler_builtins']
29+
30+
# Legacy, now a no-op
31+
no_std = []

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp