From 127c26584ef09a3aa8c0e52a3064d2f25610cc66 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 11 Apr 2017 20:17:19 -0500 Subject: [PATCH] build compiler-builtins as part of the Xargo sysroot --- Cargo.toml | 2 +- Xargo.toml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Xargo.toml diff --git a/Cargo.toml b/Cargo.toml index d0a4b06..9f2d8e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ version = "0.0.0" [dependencies] cortex-m = "0.2.2" -cortex-m-rt = { git = "https://github.com/japaric/cortex-m-rt" } +cortex-m-rt = { git = "https://github.com/japaric/cortex-m-rt", branch = "next" } cortex-m-srp = { git = "https://github.com/japaric/cortex-m-srp", branch = "next" } {{name}} = "*" diff --git a/Xargo.toml b/Xargo.toml new file mode 100644 index 0000000..505d421 --- /dev/null +++ b/Xargo.toml @@ -0,0 +1,6 @@ +[dependencies.core] + +[dependencies.compiler_builtins] +features = ["mem"] +git = "https://github.com/rust-lang-nursery/compiler-builtins" +stage = 1 \ No newline at end of file