forked from yewstack/yew
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use wasm32-unknown-unknown as the default build target (yewstack#702)
* Use wasm32-unknown-unknown as the default build target * Print rustup installed targets * Add doc_test alias
- Loading branch information
Showing
5 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
[target.'cfg(not(not(feature = "doc_test")))'] | ||
target = 'wasm32-unknown-unknown' | ||
|
||
[target.'cfg(all(target_arch = "wasm32", not(cargo_web)))'] | ||
runner = 'wasm-bindgen-test-runner' | ||
|
||
[alias] | ||
doc_test = "test --doc --features doc_test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,6 @@ yew = { path = "../.." } | |
|
||
[build-dependencies] | ||
autocfg = "0.1.3" | ||
|
||
[features] | ||
doc_test = [] |