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 New Issue
Block a user