Skip to content
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.

Commit

Permalink
replace compiler-rt.rs with rustc-builtins
Browse files Browse the repository at this point in the history
the latter is way easier to compile; it doesn't depend on an external C
cross compiler (or git)
  • Loading branch information
Jorge Aparicio committed Aug 7, 2016
1 parent a8c5f78 commit d76dd51
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ name = "cu"
version = "0.1.0"

[dependencies]
compiler-rt = { git = "https://github.com/japaric/compiler-rt.rs" }
rlibc = "1.0.0"
rustc_builtins = { git = "https://github.com/japaric/rustc-builtins" }

[profile.release]
lto = true
1 change: 1 addition & 0 deletions cortex-m3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"executables": true,
"linker": "arm-none-eabi-gcc",
"llvm-target": "thumbv7m-none-eabi",
"no-compiler-rt": true,
"os": "none",
"post-link-args": ["-Wl,-)"],
"pre-link-args": ["-Wl,-(", "-Tstm32f100.ld", "-nostartfiles"],
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#![no_std]

extern crate rustc_builtins;
extern crate rlibc;

pub mod asm;
Expand Down

0 comments on commit d76dd51

Please sign in to comment.