Skip to content

Commit d98c10f

Browse files
bootstrap: add details for rust.std-features in config.example.toml
Co-authored-by: Onur Özkan <onurozkan.dev@outlook.com>
1 parent aa39369 commit d98c10f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

config.example.toml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,8 +759,15 @@
759759
# Build compiler with the optimization enabled and -Zvalidate-mir, currently only for `std`
760760
#validate-mir-opts = 3
761761

762-
# Configure `std` features used during bootstrap
763-
#std-features = ["panic_unwind", "backtrace"]
762+
# Configure `std` features used during bootstrap.
763+
# Default features will be expanded in the following cases:
764+
# - If `rust.llvm-libunwind` or `target.llvm-libunwind` is enabled:
765+
# - "llvm-libunwind" will be added for in-tree LLVM builds.
766+
# - "system-llvm-libunwind" will be added for system LLVM builds.
767+
# - If `rust.backtrace` is enabled, "backtrace" will be added.
768+
# - If `rust.profiler` or `target.profiler` is enabled, "profiler" will be added.
769+
# - If building for a zkvm target, "compiler-builtins-mem" will be added.
770+
#std-features = ["panic_unwind"]
764771

765772
# =============================================================================
766773
# Options for specific targets

0 commit comments

Comments
 (0)