-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Rust has changed some stuff regarding the core crate and compiler intrinsics (e.g. float to int conversion). Crates do not need to link to libcore anymore, but need to link against compiler_builtins. This changes fixes the appearance of recursive intrinsics that happend with larger arrays https://users.rust-lang.org/t/compiler-generates-recursive-memclr/7575/3 rust-lang/rust#31544
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
[target.thumbv6m-none-eabi] | ||
linker = "arm-none-eabi-gcc" | ||
ar = "arm-none-eabi-ar" | ||
rustflags = [ | ||
"-C", | ||
"link-arg=-Tlayout.ld", | ||
] | ||
|
||
[target.thumbv7m-none-eabi] | ||
linker = "arm-none-eabi-gcc" | ||
ar = "arm-none-eabi-ar" | ||
rustflags = [ | ||
"-C", | ||
"link-arg=-Tlayout.ld", | ||
] | ||
|
||
[target.thumbv7em-none-eabi] | ||
linker = "arm-none-eabi-gcc" | ||
ar = "arm-none-eabi-ar" | ||
rustflags = [ | ||
"-C", | ||
"link-arg=-Tlayout.ld", | ||
] | ||
|
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ mcu_k20 = ["zinc/mcu_k20"] | |
|
||
[dependencies] | ||
zinc = { path = "../.." } | ||
rust-libcore = "*" |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,3 @@ mcu_stm32l1 = ["zinc/mcu_stm32l1"] | |
|
||
[dependencies] | ||
zinc = { path = "../.." } | ||
rust-libcore = "*" |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[build] | ||
target = "thumbv7m-none-eabi" | ||
linker = "arm-none-eabi-gcc" | ||
ar = "arm-none-eabi-ar" |
This file was deleted.
This file was deleted.
This file was deleted.