diff options
| author | ruki <[email protected]> | 2020-12-16 23:43:28 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-16 23:43:28 +0800 |
| commit | 207b4e753a4bed1f75836b78180411442103a9cd (patch) | |
| tree | 5e4abe6e4f3c5b99ef6f1ebcbbd1a3d7d88795f5 /xmake/platforms/wasm/xmake.lua | |
| parent | f3b3357ddad20367ff94e8b984a525a703d5947f (diff) | |
add find_platform
Diffstat (limited to 'xmake/platforms/wasm/xmake.lua')
| -rw-r--r-- | xmake/platforms/wasm/xmake.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/platforms/wasm/xmake.lua b/xmake/platforms/wasm/xmake.lua index 4b3fb02ac..4676b75fe 100644 --- a/xmake/platforms/wasm/xmake.lua +++ b/xmake/platforms/wasm/xmake.lua @@ -37,16 +37,6 @@ platform("wasm") set_formats("binary", "$(name).html") set_formats("symbol", "$(name).sym") - -- on check - on_check(function (platform) - import("core.project.config") - local arch = config.get("arch") - if not arch then - config.set("arch", "wasm32") - cprint("checking for architecture ... ${color.success}%s", config.get("arch")) - end - end) - -- set toolchains set_toolchains("emcc") |
