projects
/
gps-watch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: Use rustc to link the binaries instead of gcc.
[gps-watch.git]
/
src
/
application
/
main.rs
diff --git
a/src/application/main.rs
b/src/application/main.rs
index b1bf3afd24818147146c5a2a89e3773adcdd9372..d2e391de174791a71f9e1324070ee6c9271c850d 100644
(file)
--- a/
src/application/main.rs
+++ b/
src/application/main.rs
@@
-22,7
+22,7
@@
*/
#![no_std]
-#![
crate_type="staticlib"
]
+#![
no_main
]
#[link(name="libcommon.rlib")]
extern crate common;
@@
-44,7
+44,7
@@
extern {
}
#[no_mangle]
-pub unsafe extern
fn main()
{
+pub unsafe extern
"C" fn _start() -> !
{
clock::configure();
systick::init();
port::init();