]> git.lizzy.rs Git - rust.git/blob - src/test/ui/logging_before_rt_started.rs
Rollup merge of #67531 - RalfJung:tame-promotion, r=nikomatsakis
[rust.git] / src / test / ui / logging_before_rt_started.rs
1 // run-pass
2 // exec-env:RUSTC_LOG=std::ptr
3
4 // In issue #9487, it was realized that std::ptr was invoking the logging
5 // infrastructure, and when std::ptr was used during runtime initialization,
6 // this caused some serious problems. The problems have since been fixed, but
7 // this test will trigger "output during runtime initialization" to make sure
8 // that the bug isn't re-introduced.
9
10 // pretty-expanded FIXME #23616
11
12 pub fn main() {}