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 772
772
# validate-mir-opts = 3
773
773
774
774
# Configure `std` features used during bootstrap.
775
+ #
775
776
# Default features will be expanded in the following cases:
776
777
# - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled:
777
778
# - "llvm-libunwind" will be added for in-tree LLVM builds.
778
779
# - "system-llvm-libunwind" will be added for system LLVM builds.
779
780
# - If `rust.backtrace` is enabled, "backtrace" will be added.
780
781
# - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added.
781
782
# - If building for a zkvm target, "compiler-builtins-mem" will be added.
783
+ #
784
+ # Since libstd also builds libcore and liballoc as dependencies and all their features are mirrored
785
+ # as libstd features, this option can also be used to configure features such as optimize_for_size.
782
786
# std-features = ["panic_unwind"]
783
787
784
788
# =============================================================================
You can’t perform that action at this time.
0 commit comments