Commit b0e8415c authored by Dan Robertson's avatar Dan Robertson

Updates and support RedoxOS

 - Support RedoxOS
 - Use the cc crate instead of the deprecated gcc
 - Minor newline nits
parent 2371272e
......@@ -7,4 +7,4 @@ description = "Test helper for the `va_list` crate. Not for user consumption."
license = "MIT"
[build-dependencies]
gcc = "0.3"
cc = "1.0"
extern crate gcc;
extern crate cc;
fn main() {
::gcc::compile_library("libva_list_test.a", &["src/helper.c"]);
::cc::Build::new()
.file("src/helper.c")
.compile("libva_list_test.a");
}
......@@ -44,7 +44,8 @@ mod std {
}
// x86_64 on unix platforms is _usually_ ELF.
#[cfg(all(target_arch="x86_64", any(target_family="unix", target_os="redox", target_os="tifflin")))]
#[cfg(all(target_arch = "x86_64",
any(target_family = "unix", target_os = "redox", target_os = "tifflin")))]
#[path = "impl-x86_64-elf.rs"]
mod imp;
......
Markdown is supported
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