mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
Emscripten targets are Unix targets
This commit is contained in:
parent
e60aa62ffe
commit
31bda236bd
|
@ -32,6 +32,7 @@ pub fn target() -> Result<Target, String> {
|
|||
target_os: "emscripten".to_string(),
|
||||
target_env: "".to_string(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
target_family: Some("unix".to_string()),
|
||||
data_layout: "e-p:32:32-i64:64-v128:32:128-n32-S128".to_string(),
|
||||
arch: "asmjs".to_string(),
|
||||
options: opts,
|
||||
|
|
|
@ -35,6 +35,7 @@ pub fn target() -> Result<Target, String> {
|
|||
target_os: "emscripten".to_string(),
|
||||
target_env: "".to_string(),
|
||||
target_vendor: "unknown".to_string(),
|
||||
target_family: Some("unix".to_string()),
|
||||
data_layout: "e-p:32:32-i64:64-v128:32:128-n32-S128".to_string(),
|
||||
arch: "wasm32".to_string(),
|
||||
options: opts,
|
||||
|
|
Loading…
Reference in a new issue