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
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -4,6 +4,10 @@ members = [ ...@@ -4,6 +4,10 @@ members = [
"example", "example",
"rkanoid", "rkanoid",
] ]
default-members = [
"example",
"rkanoid",
]
[profile.release] [profile.release]
codegen-units = 1 codegen-units = 1
......
...@@ -9,3 +9,7 @@ l0dable = { path = "../l0dable" } ...@@ -9,3 +9,7 @@ l0dable = { path = "../l0dable" }
[build-dependencies] [build-dependencies]
cc = "1.0" 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" } ...@@ -9,3 +9,7 @@ l0dable = { path = "../l0dable" }
[build-dependencies] [build-dependencies]
cc = "1.0" 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