Skip to content

Commit

Permalink
Include additional .so files in Rustc actions
Browse files Browse the repository at this point in the history
  • Loading branch information
UebelAndre committed Mar 21, 2024
1 parent 63bb0dd commit e549359
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions rust/private/repository_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ filegroup(
srcs = glob(
[
"bin/*{dylib_ext}",
"lib/*{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}",
"lib/rustlib/{target_triple}/lib/*{dylib_ext}*",
],
allow_empty = True,
),
Expand Down Expand Up @@ -193,7 +193,7 @@ rust_stdlib_filegroup(
srcs = glob(
[
"lib/rustlib/{target_triple}/lib/*.rlib",
"lib/rustlib/{target_triple}/lib/*{dylib_ext}",
"lib/rustlib/{target_triple}/lib/*{dylib_ext}*",
"lib/rustlib/{target_triple}/lib/*{staticlib_ext}",
"lib/rustlib/{target_triple}/lib/self-contained/**",
],
Expand Down Expand Up @@ -858,7 +858,9 @@ toolchain_repository_hub = repository_rule(
doc = "The name of the toolchain implementation target, keyed by toolchain name.",
mandatory = True,
),
"toolchain_names": attr.string_list(mandatory = True),
"toolchain_names": attr.string_list(
mandatory = True,
),
"toolchain_types": attr.string_dict(
doc = "The toolchain type of the toolchain to declare, keyed by toolchain name.",
mandatory = True,
Expand Down

0 comments on commit e549359

Please sign in to comment.