Skip to content

Commit

Permalink
Add (broken) platform_specific test.
Browse files Browse the repository at this point in the history
This is currently trying to build for wasm, we should switch to Windows
and Mac OS instead. Maybe use https://crates.io/crates/os_info?
  • Loading branch information
wildarch committed Oct 18, 2020
1 parent eb1fac2 commit a284b08
Show file tree
Hide file tree
Showing 4 changed files with 738 additions and 46 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const SUPPORTED_TARGETS: &[&str] = &[
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"wasm32-unknown-unknown",
];

fn default_crate_opts() -> Vec<(String, CrateOpts)> {
Expand Down
3 changes: 3 additions & 0 deletions tests/platform_specific/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ rustc_flags = [
"--cfg=__standback_before_1_45",
"--cfg=__standback_before_1_46",
]

[package.metadata.blackjack.stdweb-internal-runtime]
build_script = true
Loading

0 comments on commit a284b08

Please sign in to comment.