Eric Huss
f1a95138d9
Migrate test to Rust 2024
2025-03-11 09:46:34 -07:00
Trevor Gross
8c1b49d5e9
Use public-dependencies in all sysroot crates
...
In [1], most dependencies of `std` and other sysroot crates were marked
private, but this did not happen for `alloc` and `test`. Update these
here, marking public standard library crates as the only non-private
dependencies.
[1]: https://github.com/rust-lang/rust/pull/111076
2025-02-21 17:37:03 +00:00
Nicholas Nethercote
29629d0075
Remove some unused crate dependencies.
...
I found these by setting the `unused_crate_dependencies` lint
temporarily to `Warn`.
2024-06-10 19:55:49 +10:00
Chris Denton
b1f1039d8b
Replace libc::c_int with core::ffi::c_int
...
And remove the libc crate when it isn't needed
2024-04-14 07:11:51 +00:00
Tyler Mandry
f622e832d4
Actually abort in panic-abort-tests
2024-01-30 18:19:49 -08:00
Ben Kimock
c0fa85e9e1
Remove libtest's dylib
2023-12-31 11:18:25 -05:00
John Kåre Alsaker
fd4c81f4c1
Add a sysroot crate to represent the standard library crates
2023-04-25 13:40:36 +02:00
klensy
c3749ddf4c
test: drop unused deps
2023-02-24 20:45:00 +03:00
Collin Baker
426296ecc3
Update test's cfg-if dependency to 1.0
...
This change was mistakenly left out of #103367
2022-11-21 16:43:34 -05:00
Deadbeef
06a1c14d52
Switch all libraries to the 2021 edition
2021-12-23 19:03:47 +08:00
Luca Barbato
160b93903c
Expose the std_detect env_override feature
2021-09-25 20:30:25 +02:00
Jade
3cf820e17d
rfc3052: Remove authors field from Cargo manifests
...
Since RFC 3052 soft deprecated the authors field anyway, hiding it from
crates.io, docs.rs, and making Cargo not add it by default, and it is
not generally up to date/useful information, we should remove it from
crates in this repo.
2021-07-29 14:56:05 -07:00
Charles Lew
9c11113b4f
Move library/term/src to library/test/src/term/.
2021-07-18 20:49:18 +08:00
Yuki Okushi
6275a29dbe
Update compiler_builtins to 0.1.39
2021-01-07 16:16:36 +09:00
Stefan Lankes
207de019dc
libary: Forward compiler-builtins "asm" and "mangled-names" feature
...
Now users will be able to do:
```
cargo build -Zbuild-std=core -Zbuild-std-features=compiler-builtins-asm
```
and correctly get the assembly implemenations for `memcpy` and friends.
2020-11-16 08:23:12 +01:00
Marc-Antoine Perennou
66fa42a946
allow using the system-wide llvm-libunwind as the unwinder
...
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com >
2020-10-21 14:45:58 +02:00
Joe Richey
37f795697c
libary: Forward compiler-builtins "mem" feature
...
This fixes https://github.com/rust-lang/wg-cargo-std-aware/issues/53
Now users will be able to do:
```
cargo build -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem
```
and correctly get the Rust implemenations for `memcpy` and friends.
Signed-off-by: Joe Richey <joerichey@google.com >
2020-09-27 20:31:06 -07:00
mark
2c31b45ae8
mv std libs to library/
2020-07-27 19:51:13 -05:00