remove emsdk cache
This commit is contained in:
parent
5485d22748
commit
5c4ca704f1
6 changed files with 0 additions and 21612 deletions
|
|
@ -1 +0,0 @@
|
|||
build --incompatible_enable_cc_toolchain_resolution
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
bazel-bin
|
||||
bazel-out
|
||||
bazel-test_secondary_lto_cache
|
||||
bazel-testlogs
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
load("@emsdk//emscripten_toolchain:wasm_rules.bzl", "wasm_cc_binary")
|
||||
|
||||
cc_binary(
|
||||
name = "hello-world",
|
||||
srcs = ["hello-world.cc"],
|
||||
linkopts = [
|
||||
"-sAUTO_NATIVE_LIBRARIES=0",
|
||||
"-flto",
|
||||
],
|
||||
)
|
||||
|
||||
wasm_cc_binary(
|
||||
name = "hello-world-wasm",
|
||||
cc_target = ":hello-world",
|
||||
outputs = [
|
||||
"hello-world.js",
|
||||
"hello-world.wasm",
|
||||
],
|
||||
)
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
bazel_dep(name = "rules_cc", version = "0.1.1")
|
||||
bazel_dep(name = "emsdk")
|
||||
local_path_override(
|
||||
module_name = "emsdk",
|
||||
path = "..",
|
||||
)
|
||||
|
||||
emscripten_cache = use_extension(
|
||||
"@emsdk//:emscripten_cache.bzl",
|
||||
"emscripten_cache",
|
||||
)
|
||||
emscripten_cache.configuration(flags = ["--lto"])
|
||||
emscripten_cache.targets(targets = [
|
||||
"crtbegin",
|
||||
"libprintf_long_double-debug",
|
||||
"libstubs-debug",
|
||||
"libnoexit",
|
||||
"libc-debug",
|
||||
"libdlmalloc",
|
||||
"libcompiler_rt",
|
||||
"libc++-noexcept",
|
||||
"libc++-debug-noexcept",
|
||||
"libc++abi-debug-noexcept",
|
||||
"libsockets",
|
||||
"libdlmalloc-debug",
|
||||
])
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +0,0 @@
|
|||
#include <iostream>
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
std::cout << "hello world!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in a new issue