Skip to content

Commit 6fb4c1c

Browse files
committed
Update libstd example to include -Zfmt-debug
1 parent 7ff5bdf commit 6fb4c1c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ host: x86_64-apple-darwin
198198
# Use that target triple when building with build-std.
199199
# Add the =std,panic_abort to the option to make panic = "abort" Cargo.toml option work.
200200
# See: https://github.com/rust-lang/wg-cargo-std-aware/issues/56
201-
$ RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build -Z build-std=std,panic_abort \
201+
$ RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" cargo +nightly build \
202+
-Z build-std=std,panic_abort \
202203
-Z build-std-features="optimize_for_size" \
203204
--target x86_64-apple-darwin --release
204205
```

0 commit comments

Comments
 (0)