Commit 1da1c657 authored by Astro's avatar Astro
Browse files

Merge branch 'build-from-root'

parents 3412247f 443820b5
......@@ -4,6 +4,10 @@ members = [
"example",
"rkanoid",
]
default-members = [
"example",
"rkanoid",
]
[profile.release]
codegen-units = 1
......
......@@ -9,3 +9,7 @@ l0dable = { path = "../l0dable" }
[build-dependencies]
cc = "1.0"
[[bin]]
name = "example"
path = "src/main.rs"
[target.thumbv7em-none-eabi]
rustflags = [
"-C", "linker=arm-none-eabi-gcc",
"-C", "link-args=-Tl0dable.ld -n -pie -fPIC",
"-C", "relocation-model=pic",
]
[build]
target = "thumbv7em-none-eabi"
......@@ -9,3 +9,7 @@ l0dable = { path = "../l0dable" }
[build-dependencies]
cc = "1.0"
[[bin]]
name = "rkanoid"
path = "src/main.rs"
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment