We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abf6b5 commit 8965b06Copy full SHA for 8965b06
Cargo.toml
@@ -3,5 +3,11 @@ authors = ["Jorge Aparicio <[email protected]>"]
3
name = "rustc_builtins"
4
version = "0.1.0"
5
6
+[dependencies]
7
+rlibc = { git = "https://github.com/alexcrichton/rlibc", optional = true }
8
+
9
[dev-dependencies]
10
quickcheck = "0.3.1"
11
12
+[features]
13
+default = ["rlibc/weak"]
src/lib.rs
@@ -18,12 +18,13 @@ extern crate quickcheck;
18
#[cfg(test)]
19
extern crate core;
20
21
+#[cfg(all(not(windows), not(target_os = "macos")))]
22
+extern crate rlibc;
23
24
#[cfg(target_arch = "arm")]
25
pub mod arm;
26
27
pub mod udiv;
-#[cfg(all(not(windows), not(target_os = "macos")))]
-pub mod mem;
28
pub mod mul;
29
pub mod shift;
30
src/mem.rs
0 commit comments