fix crtbegin
diff --git a/bazel/README.md b/bazel/README.md index b53e6ec..cc4121e 100644 --- a/bazel/README.md +++ b/bazel/README.md
@@ -74,7 +74,6 @@ ) emscripten_cache.configuration(flags = ["--lto"]) emscripten_cache.targets(targets = [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit",
diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel b/bazel/test_secondary_lto_cache/MODULE.bazel index c61dafc..dea9968 100644 --- a/bazel/test_secondary_lto_cache/MODULE.bazel +++ b/bazel/test_secondary_lto_cache/MODULE.bazel
@@ -11,7 +11,6 @@ ) emscripten_cache.configuration(flags = ["--lto"]) emscripten_cache.targets(targets = [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit",
diff --git a/bazel/test_secondary_lto_cache/MODULE.bazel.lock b/bazel/test_secondary_lto_cache/MODULE.bazel.lock index 86bfce2..fd75f87 100644 --- a/bazel/test_secondary_lto_cache/MODULE.bazel.lock +++ b/bazel/test_secondary_lto_cache/MODULE.bazel.lock
@@ -183,7 +183,6 @@ "--lto" ], "targets": [ - "crtbegin", "libprintf_long_double-debug", "libstubs-debug", "libnoexit",
diff --git a/test/test_bazel.sh b/test/test_bazel.sh index 682866f..7a1d7a2 100755 --- a/test/test_bazel.sh +++ b/test/test_bazel.sh
@@ -19,10 +19,11 @@ grep ${VER} bazel/MODULE.bazel || (echo ${FAILMSG} && false) cd bazel + bazel build //hello-world:hello-world-wasm bazel build //hello-world:hello-world-wasm-simd -cd test_external +pushd test_external bazel build //:hello-world-wasm bazel build //long_command_line:long_command_line_wasm bazel build //:hello-embind-wasm --compilation_mode dbg # debug @@ -31,6 +32,8 @@ bazel build //:hello-embind-wasm --compilation_mode opt # release # This function should not be minified if the externs file is loaded correctly. grep "customJSFunctionToTestClosure" bazel-bin/hello-embind-wasm/hello-embind.js +popd -cd ../test_secondary_lto_cache +pushd test_secondary_lto_cache bazel build //:hello-world-wasm +popd