Skip to content

Commit 308525b

Browse files
authored
fix: syntax in extra_rustc_flags selection (#75)
Error: type 'builtin_function_or_method' is not iterable
1 parent d109853 commit 308525b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rs/experimental/toolchains/declare_rustc_toolchains.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def declare_rustc_toolchains(
101101
default_edition = edition,
102102
extra_exec_rustc_flags = extra_exec_rustc_flags.get(triple),
103103
extra_rustc_flags = select(
104-
{"@rules_rs//rs/experimental/platforms/config:" + triple: flags for triple, flags in extra_rustc_flags.items} |
104+
{"@rules_rs//rs/experimental/platforms/config:" + triple: flags for triple, flags in extra_rustc_flags.items()} |
105105
{"//conditions:default": []},
106106
),
107107
exec_triple = triple,

0 commit comments

Comments
 (0)