about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/vec-macro-no-std.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-04-15 15:18:06 -0400
committerGitHub <noreply@github.com>2024-04-15 15:18:06 -0400
commit89e55f7befd33ef4fec950e6f6f4ea6957147e30 (patch)
treeffe51d0ac35a6902c59702b87ac66c831e921fce /tests/ui/array-slice-vec/vec-macro-no-std.rs
parent20a5fb3b4a306ac962a26b1719e7b5718f7d96ae (diff)
parent7457a0d4415f6198b35dc24b9026e81551f90669 (diff)
downloadrust-89e55f7befd33ef4fec950e6f6f4ea6957147e30.tar.gz
rust-89e55f7befd33ef4fec950e6f6f4ea6957147e30.zip
Rollup merge of #123943 - saethlin:less-sysroot-libc, r=workingjubilee
Use the rustc_private libc less in tests

I started looking into our use of `rustc_private` + `extern crate libc;` in tests because of https://github.com/rust-lang/rust/pull/123938 and it looks like some fraction of the users of libc simply don't need the libc crate anymore.
Diffstat (limited to 'tests/ui/array-slice-vec/vec-macro-no-std.rs')
-rw-r--r--tests/ui/array-slice-vec/vec-macro-no-std.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/vec-macro-no-std.rs b/tests/ui/array-slice-vec/vec-macro-no-std.rs
index 76a1b4951d6..1b5ab536dcb 100644
--- a/tests/ui/array-slice-vec/vec-macro-no-std.rs
+++ b/tests/ui/array-slice-vec/vec-macro-no-std.rs
@@ -7,8 +7,6 @@
 
 extern crate std as other;
 
-extern crate libc;
-
 #[macro_use]
 extern crate alloc;