Skip to content

Commit

Permalink
Rename set to depset (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmos authored and katre committed Aug 7, 2017
1 parent e6c3592 commit 9c8b8d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/rust.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ def _setup_deps(deps, name, working_dir, allow_cc_deps=False,
has_rlib = False
has_native = False

libs = set()
transitive_libs = set()
symlinked_libs = set()
libs = depset()
transitive_libs = depset()
symlinked_libs = depset()
link_flags = []
for dep in deps:
if hasattr(dep, "rust_lib"):
Expand Down Expand Up @@ -349,7 +349,7 @@ def _rust_library_impl(ctx):
% (ctx.label.name, len(ctx.files.srcs))))

return struct(
files = set([rust_lib]),
files = depset([rust_lib]),
crate_type = crate_type,
crate_root = lib_rs,
rust_srcs = ctx.files.srcs,
Expand Down

0 comments on commit 9c8b8d9

Please sign in to comment.