-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add test for warning-free builds of core
under no_global_oom_handling
#110652
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Could we do the equivalent of |
This comment has been minimized.
This comment has been minimized.
46b36fd
to
fccca0a
Compare
Good idea, but that is probably best as an independent PR (changing both tests). Why would we need |
This comment has been minimized.
This comment has been minimized.
fccca0a
to
592e8a4
Compare
…m_handling` `tests/run-make/alloc-no-oom-handling` tests that `alloc` under `no_global_oom_handling` builds and is warning-free. Do the same for `core` to prevent issues such as [1]. Link: rust-lang#110649 [1] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
592e8a4
to
3938541
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
After #110649 lands this one can too. |
--emit=metadata is currently your best bet, we don't have a great alternative option today. Emitting the files itself should be pretty cheap I think, so I wouldn't worry too much about that. r=me with the needed commit landed to fix this (approved that, so should happen soon) |
Thanks Mark! I will send a PR to change the tests to |
@bors r+ rollup Sounds good. I think there is likely to not be much appetite for yet another emission kind, particularly if the gains are minimal (as I expect they will be). |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#110586 (Fix Unreadable non-UTF-8 output on localized MSVC) - rust-lang#110652 (Add test for warning-free builds of `core` under `no_global_oom_handling`) - rust-lang#110973 (improve error notes for packed struct reference diagnostic) - rust-lang#110981 (Move most rustdoc-ui tests into subdirectories) - rust-lang#110983 (rustdoc: Get `repr` information through `AdtDef` for foreign items) - rust-lang#110984 (Do not resolve anonymous lifetimes in consts to be static.) - rust-lang#110997 (Improve internal field comments on `slice::Iter(Mut)`) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
tests/run-make/alloc-no-oom-handling
tests thatalloc
underno_global_oom_handling
builds and is warning-free.Do the same for
core
to prevent issues such as [1].Link: #110649 [1]