Commit 55282f08 authored by Astro's avatar Astro
Browse files

move panic_abort dependency into l0dable

parent 3f950132
Pipeline #2516 failed with stage
in 5 minutes and 45 seconds
...@@ -238,6 +238,7 @@ version = "0.0.0" ...@@ -238,6 +238,7 @@ version = "0.0.0"
dependencies = [ dependencies = [
"bindgen 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)", "bindgen 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)", "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"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)",
] ]
...@@ -247,7 +248,6 @@ version = "0.0.0" ...@@ -247,7 +248,6 @@ version = "0.0.0"
dependencies = [ dependencies = [
"cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)", "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
"l0dable 0.0.0", "l0dable 0.0.0",
"panic-abort 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
] ]
[[package]] [[package]]
......
...@@ -6,7 +6,6 @@ authors = ["Astro <astro@spaceboyz.net>"] ...@@ -6,7 +6,6 @@ authors = ["Astro <astro@spaceboyz.net>"]
[dependencies] [dependencies]
l0dable = { path = "../l0dable" } l0dable = { path = "../l0dable" }
panic-abort = "0.3"
[build-dependencies] [build-dependencies]
cc = "1.0" cc = "1.0"
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#![no_main] #![no_main]
use core::fmt::Write; use core::fmt::Write;
use panic_abort as _;
use l0dable::*; use l0dable::*;
main!(main); main!(main);
......
...@@ -6,6 +6,7 @@ authors = ["Astro <astro@spaceboyz.net>"] ...@@ -6,6 +6,7 @@ authors = ["Astro <astro@spaceboyz.net>"]
[dependencies] [dependencies]
r0 = "0.2" r0 = "0.2"
panic-abort = "0.3"
[build-dependencies] [build-dependencies]
cc = "1.0" cc = "1.0"
......
#![no_std] #![no_std]
#![feature(global_asm)] #![feature(global_asm)]
use panic_abort as _;
global_asm!(include_str!("crt.s")); global_asm!(include_str!("crt.s"));
/// Type check the user-supplied entry function. /// Type check the user-supplied entry function.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment