about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2023-12-24 15:07:05 +0800
committerSean Cross <sean@xobs.io>2024-01-13 09:13:56 -0800
commiteabd445053ddf9217ab9b464b5ec239fcaf416d3 (patch)
treef0341103d3d214f22d64f3de4898532ef7956c57 /compiler/rustc_codegen_llvm/src/errors.rs
parentb5c1c47990b7a32dbc0fd93f4c807b565814f1c2 (diff)
downloadrust-eabd445053ddf9217ab9b464b5ec239fcaf416d3.tar.gz
rust-eabd445053ddf9217ab9b464b5ec239fcaf416d3.zip
std: xous: rewrite rwlock to be more robust
Add more checks to RwLock on Xous. As part of this, ensure the variable
is in a good state when unlocking.

Additionally, use the global `yield_now()` rather than platform-specific
`do_yield()`.

Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions