From 6fb4c1c711f982966259c1b9f9b7c82d50a5d5e5 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Wed, 11 Sep 2024 07:12:31 -0400 Subject: [PATCH] Update libstd example to include -Zfmt-debug --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c6bde5b..d2b88ac 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,8 @@ host: x86_64-apple-darwin # Use that target triple when building with build-std. # Add the =std,panic_abort to the option to make panic = "abort" Cargo.toml option work. # See: https://github.com/rust-lang/wg-cargo-std-aware/issues/56 -$ RUSTFLAGS="-Zlocation-detail=none" cargo +nightly build -Z build-std=std,panic_abort \ +$ RUSTFLAGS="-Zlocation-detail=none -Zfmt-debug=none" cargo +nightly build \ + -Z build-std=std,panic_abort \ -Z build-std-features="optimize_for_size" \ --target x86_64-apple-darwin --release ```