Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Commit

Permalink
zinc: link against rlibc when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoffin committed Nov 18, 2016
1 parent 87fb543 commit f7c4602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Expand Up @@ -32,6 +32,9 @@ path = "./ioreg"
[dependencies.volatile_cell]
path = "./volatile_cell"

[dependencies]
rlibc = "*"

[dev-dependencies]
expectest = "*"

Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Expand Up @@ -48,6 +48,9 @@ STM32F403/407).
*/
#![plugin(ioreg)]

#[cfg(target_os = "none")]
extern crate rlibc;

#[macro_use] #[no_link] extern crate ioreg;
#[macro_use] extern crate volatile_cell;

Expand Down

0 comments on commit f7c4602

Please sign in to comment.