wrote a basic bootloader
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[build]
|
||||
target = "x86_64-custom.json"
|
||||
|
||||
[unstable]
|
||||
build-std = ["core", "compiler_builtins"]
|
||||
build-std-features = ["compiler-builtins-mem"]
|
||||
|
||||
[target.'cfg(target_os = "none")']
|
||||
runner = "bootimage runner"
|
||||
|
||||
[target.x86_64-custom]
|
||||
rustflags = [
|
||||
"-C", "link-arg=-Tlinker.ld",
|
||||
"-C", "code-model=kernel",
|
||||
"-C", "relocation-model=static"
|
||||
]
|
||||
Reference in New Issue
Block a user