Barebones rust example working in user space.

Requires manually copying the executable over to the image.
This commit is contained in:
Drew Galbraith 2024-06-08 15:47:58 -07:00
parent 844f55c7d0
commit b0048b0a4f
13 changed files with 707 additions and 1 deletions

View file

@ -0,0 +1,13 @@
{
"llvm-target": "x86_64-unknown-none",
"data-layout": "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128",
"arch": "x86_64",
"target-endian": "little",
"target-pointer-width": "64",
"target-c-int-width": "32",
"os": "none",
"executables": true,
"linker-flavor": "ld.lld",
"linker": "rust-lld",
"panic-strategy": "abort"
}