File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 773
773
# validate-mir-opts = 3
774
774
775
775
# Configure `std` features used during bootstrap.
776
+ #
776
777
# Default features will be expanded in the following cases:
777
778
# - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled:
778
779
# - "llvm-libunwind" will be added for in-tree LLVM builds.
779
780
# - "system-llvm-libunwind" will be added for system LLVM builds.
780
781
# - If `rust.backtrace` is enabled, "backtrace" will be added.
781
782
# - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added.
782
783
# - 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.
783
787
# std-features = ["panic_unwind"]
784
788
785
789
# =============================================================================
You can’t perform that action at this time.
0 commit comments