feat: настройки для создания исполняемого бинаря
This commit is contained in:
parent
322d0a0406
commit
a887b12014
3 changed files with 23 additions and 1 deletions
10
.cargo/config.toml
Normal file
10
.cargo/config.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
[build]
|
||||||
|
target = "x86-rustos.json"
|
||||||
|
|
||||||
|
[unstable]
|
||||||
|
json-target-spec = true
|
||||||
|
build-std-features = ["compiler-builtins-mem"]
|
||||||
|
build-std = ["core", "compiler_builtins"]
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "none")']
|
||||||
|
runner = "bootimage runner"
|
||||||
9
Cargo.lock
generated
9
Cargo.lock
generated
|
|
@ -2,6 +2,15 @@
|
||||||
# It is not intended for manual editing.
|
# It is not intended for manual editing.
|
||||||
version = 4
|
version = 4
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "bootloader"
|
||||||
|
version = "0.9.35"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
checksum = "e22d5a0b9e11dd5bee9d24a68885de6dc7ed367f897323b1c1286150fd469374"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustos"
|
name = "rustos"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"bootloader",
|
||||||
|
]
|
||||||
|
|
|
||||||
|
|
@ -13,3 +13,6 @@ panic = "abort"
|
||||||
name = "rustos"
|
name = "rustos"
|
||||||
test = false
|
test = false
|
||||||
bench = false
|
bench = false
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
bootloader = "0.9"
|
||||||
Loading…
Reference in a new issue