link again compiler_builtins

required for memset etc
This commit is contained in:
Astro 2019-06-09 01:00:58 +02:00
parent d447f1cc45
commit 2d7fed6c59
3 changed files with 10 additions and 0 deletions

7
Cargo.lock generated
View File

@ -5,6 +5,11 @@ name = "bit_field"
version = "0.10.0" version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "compiler_builtins"
version = "0.1.16"
source = "git+https://github.com/rust-lang-nursery/compiler-builtins#5e06435c291211a6443d3b29b948faa3ccaaa180"
[[package]] [[package]]
name = "r0" name = "r0"
version = "0.2.2" version = "0.2.2"
@ -28,12 +33,14 @@ name = "zc706"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"bit_field 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "bit_field 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
"compiler_builtins 0.1.16 (git+https://github.com/rust-lang-nursery/compiler-builtins)",
"r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"volatile-register 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "volatile-register 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[metadata] [metadata]
"checksum bit_field 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a165d606cf084741d4ac3a28fb6e9b1eb0bd31f6cd999098cfddb0b2ab381dc0" "checksum bit_field 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a165d606cf084741d4ac3a28fb6e9b1eb0bd31f6cd999098cfddb0b2ab381dc0"
"checksum compiler_builtins 0.1.16 (git+https://github.com/rust-lang-nursery/compiler-builtins)" = "<none>"
"checksum r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a38df5b15c8d5c7e8654189744d8e396bddc18ad48041a500ce52d6948941f" "checksum r0 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2a38df5b15c8d5c7e8654189744d8e396bddc18ad48041a500ce52d6948941f"
"checksum vcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "45c297f0afb6928cd08ab1ff9d95e99392595ea25ae1b5ecf822ff8764e57a0d" "checksum vcell 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "45c297f0afb6928cd08ab1ff9d95e99392595ea25ae1b5ecf822ff8764e57a0d"
"checksum volatile-register 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0d67cb4616d99b940db1d6bd28844ff97108b498a6ca850e5b6191a532063286" "checksum volatile-register 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0d67cb4616d99b940db1d6bd28844ff97108b498a6ca850e5b6191a532063286"

View File

@ -21,3 +21,4 @@ default = ["target_zc706"]
r0 = "0.2" r0 = "0.2"
volatile-register = "0.2" volatile-register = "0.2"
bit_field = "0.10" bit_field = "0.10"
compiler_builtins = { git = "https://github.com/rust-lang-nursery/compiler-builtins", no-default-features = true, features = ["mem", "no-lang-items"]}

View File

@ -3,10 +3,12 @@
#![feature(asm)] #![feature(asm)]
#![feature(global_asm)] #![feature(global_asm)]
#![feature(naked_functions)] #![feature(naked_functions)]
#![feature(compiler_builtins_lib)]
use core::fmt::Write; use core::fmt::Write;
use r0::zero_bss; use r0::zero_bss;
use compiler_builtins as _;
mod regs; mod regs;
mod cortex_a9; mod cortex_a9;