diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index c92509fc60..f833ea6106 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -39,8 +39,6 @@ tasks: - "-@examples//ffi/rust_calling_c/simple/..." # See https://github.com/bazelbuild/bazel/issues/9987 - "-@examples//ffi/rust_calling_c:matrix_dylib_test" - # rust-lld isn't available on RBE - - "-@examples//hello_world_wasm:hello_world_wasm_test" windows: build_flags: - "--enable_runfiles" # this is not enabled by default on windows and is necessary for the cargo build scripts diff --git a/rust/repositories.bzl b/rust/repositories.bzl index f7dba196c0..fac65002d9 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -161,6 +161,8 @@ filegroup( "bin/*{dylib_ext}", "lib/*{dylib_ext}", "lib/rustlib/{target_triple}/codegen-backends/*{dylib_ext}", + "lib/rustlib/{target_triple}/bin/rust-lld{binary_ext}", + "lib/rustlib/{target_triple}/lib/*{dylib_ext}", ], allow_empty = True, ),