Barebones rust example working in user space.
Requires manually copying the executable over to the image.
This commit is contained in:
parent
844f55c7d0
commit
b0048b0a4f
13 changed files with 707 additions and 1 deletions
14
rust/Cargo.toml
Normal file
14
rust/Cargo.toml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
[workspace]
|
||||
|
||||
members = [
|
||||
"lib/mammoth", "usr/testbed",
|
||||
]
|
||||
|
||||
# the profile used for `cargo build`
|
||||
[profile.dev]
|
||||
panic = "abort" # disable stack unwinding on panic
|
||||
|
||||
# the profile used for `cargo build --release`
|
||||
[profile.release]
|
||||
panic = "abort" # disable stack unwinding on panic
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue