Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Astro
rust-card10
Commits
55282f08
Commit
55282f08
authored
Aug 21, 2019
by
Astro
⚙
Browse files
move panic_abort dependency into l0dable
parent
3f950132
Pipeline
#2516
failed with stage
in 5 minutes and 45 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
55282f08
...
@@ -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]]
...
...
example/Cargo.toml
View file @
55282f08
...
@@ -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"
example/src/main.rs
View file @
55282f08
...
@@ -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
);
...
...
l0dable/Cargo.toml
View file @
55282f08
...
@@ -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"
...
...
l0dable/src/lib.rs
View file @
55282f08
#![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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment