diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-11 20:01:42 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-07-11 20:01:42 +0800 |
| commit | 33e69623bae7cee0e1706cc64f81edee8a4283d9 (patch) | |
| tree | 15172560912de4b00dd5bd35a9d833a1c6f49452 /tests/run-make/fmt-write-bloat/rmake.rs | |
| parent | 120c9fcb86bfde65b562ba4e957ef7003108d6ae (diff) | |
| download | rust-33e69623bae7cee0e1706cc64f81edee8a4283d9.tar.gz rust-33e69623bae7cee0e1706cc64f81edee8a4283d9.zip | |
Fix std debug assertions gate in `fmt-write-boat`
The test itself is still broken, but fix this gating separately first.
Diffstat (limited to 'tests/run-make/fmt-write-bloat/rmake.rs')
| -rw-r--r-- | tests/run-make/fmt-write-bloat/rmake.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/run-make/fmt-write-bloat/rmake.rs b/tests/run-make/fmt-write-bloat/rmake.rs index 3348651d501..af6ff6c2983 100644 --- a/tests/run-make/fmt-write-bloat/rmake.rs +++ b/tests/run-make/fmt-write-bloat/rmake.rs @@ -18,7 +18,7 @@ //@ ignore-cross-compile use run_make_support::artifact_names::bin_name; -use run_make_support::env::no_debug_assertions; +use run_make_support::env::std_debug_assertions_enabled; use run_make_support::rustc; use run_make_support::symbols::any_symbol_contains; @@ -26,7 +26,7 @@ fn main() { rustc().input("main.rs").opt().run(); // panic machinery identifiers, these should not appear in the final binary let mut panic_syms = vec!["panic_bounds_check", "Debug"]; - if no_debug_assertions() { + if std_debug_assertions_enabled() { // if debug assertions are allowed, we need to allow these, // otherwise, add them to the list of symbols to deny. panic_syms.extend_from_slice(&["panicking", "panic_fmt", "pad_integral", "Display"]); |
