Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • willnode/ring
  • redox-os/ring
  • wusyong/ring
  • amyipdev/ring
4 results
Show changes
Commits on Source (2)
......@@ -282,7 +282,7 @@ untrusted = "0.6.2"
[target.'cfg(target_os = "linux")'.dependencies]
libc = { version = "0.2.34" }
[target.'cfg(any(target_os = "redox", all(unix, not(any(target_os = "macos", target_os = "ios")))))'.dependencies]
[target.'cfg(all(unix, not(any(target_os = "macos", target_os = "ios"))))'.dependencies]
lazy_static = "1.2"
# Keep this in sync with `[dependencies]` in pregenerate_asm/Cargo.toml.
......
......@@ -57,7 +57,6 @@
unused_import_braces,
unused_results,
variant_size_differences,
warnings
)]
#![no_std]
#![cfg_attr(feature = "internal_benches", allow(unstable_features))]
......
......@@ -193,7 +193,7 @@ mod urandom {
pub fn fill(dest: &mut [u8]) -> Result<(), error::Unspecified> {
#[cfg(target_os = "redox")]
static RANDOM_PATH: &str = "rand:";
#[cfg(unix)]
#[cfg(all(unix, not(target_os = "redox")))]
static RANDOM_PATH: &str = "/dev/urandom";
lazy_static! {
......