about summary refs log tree commit diff
path: root/library/std/src/sys/alloc
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-18 06:59:05 +0200
committerGitHub <noreply@github.com>2024-10-18 06:59:05 +0200
commit994bdbb23f408dfc27107ecfbf252d0c5c4617ac (patch)
tree14d1b8bf2dfd3f119ce464515b46a8b18e623693 /library/std/src/sys/alloc
parentd9c4b8d475360b52e6debead2cd710e9fe3c7110 (diff)
parent99de67af35b90b3e1a90849ec8bc6e92e0b73370 (diff)
downloadrust-994bdbb23f408dfc27107ecfbf252d0c5c4617ac.tar.gz
rust-994bdbb23f408dfc27107ecfbf252d0c5c4617ac.zip
Rollup merge of #131654 - betrusted-io:xous-various-fixes, r=thomcc
Various fixes for Xous

This patchset includes several fixes for Xous that have crept in over the last few months:

* The `adjust_process()` syscall was incorrect
* Warnings have started appearing in `alloc` -- adopt the same approach as wasm, until wasm figures out a workaround
* Dead code warnings have appeared in the networking code. Add `allow(dead_code)` as these structs are used as IPC values
* Add support for `args` and `env`, which have been useful for running tests
* Update `unwinding` to `0.2.3` which fixes the recent regression due to changes in `asm!()` code
Diffstat (limited to 'library/std/src/sys/alloc')
-rw-r--r--library/std/src/sys/alloc/xous.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/sys/alloc/xous.rs b/library/std/src/sys/alloc/xous.rs
index 9ea43445d02..321d30e0b11 100644
--- a/library/std/src/sys/alloc/xous.rs
+++ b/library/std/src/sys/alloc/xous.rs
@@ -1,3 +1,6 @@
+// FIXME(static_mut_refs): Do not allow `static_mut_refs` lint
+#![allow(static_mut_refs)]
+
 use crate::alloc::{GlobalAlloc, Layout, System};
 
 #[cfg(not(test))]