
This commit does a few things: * remove the -8 suffix on macOS, where it is not necessary * add smoke tests for compiling wasm files on Linux and macOS
11 строки
272 Б
Go
11 строки
272 Б
Go
// +build darwin
|
|
|
|
package main
|
|
|
|
// commands used by the compilation process might have different file names on macOS than those used on Linux.
|
|
var commands = map[string]string{
|
|
"ar": "llvm-ar",
|
|
"clang": "clang-8",
|
|
"ld.lld": "ld.lld-8",
|
|
"wasm-ld": "wasm-ld",
|
|
}
|