about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-03-23 03:05:33 +0100
committerGitHub <noreply@github.com>2022-03-23 03:05:33 +0100
commite1f2d354a7d6987e50719c24473ed9ae33f59392 (patch)
treee52e03cced9646cad7fd6cd308a4fc2c515376e1 /compiler/rustc_codegen_gcc/example/std_example.rs
parent0254928213617d0847305cce428ebca2daf9d637 (diff)
parent0d12a30673123c64ce6955278a7183a9667758df (diff)
downloadrust-e1f2d354a7d6987e50719c24473ed9ae33f59392.tar.gz
rust-e1f2d354a7d6987e50719c24473ed9ae33f59392.zip
Rollup merge of #95219 - ojeda:update-alloc-no-oom-handling-test, r=Dylan-DPC
Modernize `alloc-no-oom-handling` test

  - The edition should be 2021 to avoid warnings.

  - The `external_crate` feature was removed in commit 45bf1ed1a112 ("rustc: Allow changing the default allocator").

    Note that commit d620ae10709c ("Auto merge of #84266") removed the old test, but the new one introduced passed the `--cfg` like in the old one.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>

---

This is intended to align this test to the new `no_rc` and `no_sync` ones being added in https://github.com/rust-lang/rust/pull/89891, but it makes sense on its own too.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions