rust/library/std/src/sys
Matthias Krüger 879c17f3f9
Rollup merge of #100127 - ChrisDenton:remove-init, r=thomcc
Remove Windows function preloading

After `@Mark-Simulacrum` asked me to provide guidance for when optionally imported functions should be preloaded, I realised my justifications were now quite weak. I think the strongest argument that can be made is that it avoids some degree of nondeterminism when calling these functions (in as far as system API calls can be said to be deterministic). However, I don't think that's particularly convincing unless there's a real world use case where it matters. Further discussion with `@thomcc` has strengthened my feeling that preloading isn't really needed.

Note that `WaitOnAddress` needed some adjustment to work without preloading. I opted not to use a macro for this special case as it seemed silly to do so for just one thing (and I don't like macros tbh).
2022-08-07 01:19:32 +02:00
..
common resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
hermit Hermit: Make Mutex::init a no-op 2022-06-26 23:20:41 +02:00
itron Rollup merge of #97140 - joboet:solid_parker, r=m-ou-se 2022-06-26 19:46:59 +02:00
sgx Auto merge of #78802 - faern:simplify-socketaddr, r=joshtriplett 2022-07-31 15:56:28 +00:00
solid kmc-solid: Add a stub implementation of File::set_times 2022-08-04 19:12:30 +09:00
unix FilesTimes support does not build for ESP-IDF 2022-08-03 19:30:23 +00:00
unsupported Auto merge of #98246 - joshtriplett:times, r=m-ou-se 2022-08-01 06:44:43 +00:00
wasi Auto merge of #98246 - joshtriplett:times, r=m-ou-se 2022-08-01 06:44:43 +00:00
wasm Fix futex module imports on wasm+atomics 2022-07-27 12:44:32 +04:00
windows Update after code review 2022-08-04 12:26:40 +01:00
mod.rs Use target_family = "wasm" 2021-11-10 08:35:42 -08:00