File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Top Open diff view settings Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Top Open diff view settings Original file line number Diff line number Diff line change 773773# validate-mir-opts = 3
774774
775775# Configure `std` features used during bootstrap.
776+ #
776777# Default features will be expanded in the following cases:
777778# - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled:
778779# - "llvm-libunwind" will be added for in-tree LLVM builds.
779780# - "system-llvm-libunwind" will be added for system LLVM builds.
780781# - If `rust.backtrace` is enabled, "backtrace" will be added.
781782# - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added.
782783# - If building for a zkvm target, "compiler-builtins-mem" will be added.
784+ #
785+ # Since libstd also builds libcore and liballoc as dependencies and all their features are mirrored
786+ # as libstd features, this option can also be used to configure features such as optimize_for_size.
783787# std-features = ["panic_unwind"]
784788
785789# =============================================================================
You can’t perform that action at this time.
0 commit comments