Skip to content
Snippets Groups Projects
Commit 1da1c657 authored by Astro's avatar Astro :gear:
Browse files

Merge branch 'build-from-root'

parents 3412247f 443820b5
Branches
No related tags found
No related merge requests found
File moved
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment