Skip to content

Commit

Permalink
fix cross platform build
Browse files Browse the repository at this point in the history
  • Loading branch information
watawuwu committed Dec 11, 2018
1 parent 79bdb62 commit c355429
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/cargo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ readme = "README.md"
assert_eq!(cargo.version(), "0.1.0");
assert_eq!(cargo.description(), "Test description");
assert_eq!(cargo.author(), "mozilla, watawuwu");
#[cfg(target_os = "macos")]
assert_eq!(cargo.build_id(), "test-cargo-5484037434785666097");
assert!(cargo.icon_path().is_none());
}
Expand Down
1 change: 1 addition & 0 deletions src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ mod tests {
use crate::core::*;

#[test]
#[cfg(target_os = "macos")]
fn hash_bore_ok() {
let args = "test";
let expected = 16183295663280961421u64;
Expand Down

0 comments on commit c355429

Please sign in to comment.