rust/library/std/src
bors a6236fa460 Auto merge of #102757 - pcc:android-std-tests, r=workingjubilee
Make std tests pass on newer Android

Newer versions of Android forbid the creation of hardlinks as well as Unix domain sockets in the /data filesystem via SELinux rules, which causes several tests depending on this behavior to fail. So let's skip these tests on Android if we see an EACCES from one of these syscalls. To achieve this, introduce a macro with the horrible name of or_panic_or_skip_on_android_eacces (better suggestions welcome) which skips (returns from) the test if an EACCES return value is seen on Android.
2023-07-26 07:57:32 +00:00
..
backtrace Use implicit capture syntax in format_args 2022-03-10 10:23:40 -05:00
collections avoid ambiguous word 2023-07-12 20:10:52 +02:00
env
error remove fn backtrace 2022-08-01 20:10:40 +00:00
f32 Remove some cfg(not(bootstrap)) 2022-12-11 01:20:18 -05:00
f64 Remove some cfg(not(bootstrap)) 2022-12-11 01:20:18 -05:00
ffi Rollup merge of #113442 - epage:osstring, r=cuviper 2023-07-22 11:48:53 +02:00
fs Auto merge of #102757 - pcc:android-std-tests, r=workingjubilee 2023-07-26 07:57:32 +00:00
io Auto merge of #103754 - SUPERCILEX:filled-mut, r=m-ou-se 2023-07-11 19:07:11 +00:00
net Rollup merge of #112464 - eval-exec:exec/fix-connect_timeout-overflow, r=ChrisDenton 2023-06-20 14:23:39 +02:00
num rustc_expand: Mark inner #![test] attributes as soft-unstable 2020-11-20 19:35:03 +03:00
os Auto merge of #102757 - pcc:android-std-tests, r=workingjubilee 2023-07-26 07:57:32 +00:00
panic
path std: add tests for Path::with_extension 2023-07-14 13:19:45 -03:00
prelude correct std::prelude comment 2023-04-27 15:56:57 +02:00
process Workaround for old android not having echo 2023-07-05 09:54:16 +01:00
sync docs(LazyLock): add example pass local LazyLock variable to struct 2023-07-25 12:21:30 +08:00
sys Auto merge of #112646 - vn971:document-thread-names-for-sgx-target, r=m-ou-se 2023-07-25 09:14:11 +00:00
sys_common remove additional [allow(unused_unsafe)] 2023-07-24 17:56:38 -04:00
thread Update tvOS support elsewhere in the stdlib 2023-06-21 14:59:40 -07:00
time Rollup merge of #103056 - beetrees:timespec-bug-fix, r=thomcc 2023-05-05 18:40:32 +05:30
alloc.rs remove additional [allow(unused_unsafe)] 2023-07-24 17:56:38 -04:00
ascii.rs Add the basic ascii::Char type 2023-05-03 22:09:33 -07:00
backtrace.rs Replace libstd, libcore, liballoc in docs. 2022-12-30 14:00:40 +01:00
env.rs Rollup merge of #109894 - fleetingbytes:109893-var_os-never-returns-an-error, r=cuviper 2023-04-11 20:28:46 -07:00
error.rs remove cfg(bootstrap) 2022-09-26 10:14:45 +02:00
f32.rs move pal cfgs in f32 and f64 to sys 2023-07-09 17:32:26 -07:00
f64.rs move pal cfgs in f32 and f64 to sys 2023-07-09 17:32:26 -07:00
fs.rs Auto merge of #94748 - tbu-:pr_file_arc, r=Amanieu 2023-07-10 13:26:42 +00:00
keyword_docs.rs enable rust_2018_idioms for doctests 2023-05-07 00:12:29 +03:00
lib.rs remove additional [allow(unused_unsafe)] 2023-07-24 17:56:38 -04:00
macros.rs Fix typo in eprintln docs 2023-06-21 01:08:10 +01:00
num.rs Add Saturating type (based on Wrapping type) 2021-08-10 19:27:01 +02:00
panic.rs Shorten lifetime of even more panic temporaries 2023-05-15 03:47:37 -07:00
panicking.rs On nightly, dump ICE backtraces to disk 2023-07-19 14:10:07 +00:00
path.rs std: remove an allocation in Path::with_extension 2023-06-27 18:45:47 -03:00
primitive_docs.rs Extend unused_must_use to cover block exprs 2023-06-15 17:59:13 +08:00
process.rs Update documentation for std::process::Command's new method 2023-07-18 11:32:04 +02:00
rt.rs Replace libstd, libcore, liballoc in line comments. 2022-12-30 14:00:42 +01:00
time.rs update wasi_clock_time_api ref. 2023-04-29 19:04:16 +08:00