Skip to content

Commit

Permalink
fix(rust): make libs and bins in std_build just need comma, not comma…
Browse files Browse the repository at this point in the history
… and space
  • Loading branch information
stevenj committed May 7, 2024
1 parent 1024ab0 commit eda297b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions earthly/rust/scripts/std_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ def main():
)
args = parser.parse_args()

libs = filter(lambda lib: lib != "", args.libs.split(", "))
bins = list(filter(lambda bin: bin != "", args.bins.split(", ")))
libs = filter(lambda lib: lib.strip() and len(lib.strip()) > 0, args.libs.split(","))
bins = list(filter(lambda bin: bin.strip() and len(bin.strip()) > 0, args.bins.split(",")))

with exec_manager.ParallelRunner("Rust build") as runner:
# Build the code.
Expand Down

0 comments on commit eda297b

Please sign in to comment.