From 6f08e26f0f77759473e1535fc7b8635b5b9afc8d Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Thu, 15 Oct 2020 08:56:16 -0700 Subject: [PATCH] include wasm-lld in toolchain (#437) --- .bazelci/presubmit.yml | 2 -- rust/repositories.bzl | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) 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, ),