Merge branch 'main' into redsun82/rust-trait-path

This commit is contained in:
Paolo Tranquilli
2025-02-24 14:12:53 +01:00
16 changed files with 883 additions and 365 deletions

View File

@@ -66,7 +66,9 @@ write_file(
'DST_DIR="$(dirname "$(rlocation "$1")")"',
'mkdir -p "$DST_DIR/src/codegen/grammar"',
] + [
'cp -f --no-preserve=mode "$(rlocation "$%s")" "$DST_DIR/%s"' % item
# using cat instead of cp to honor default umask
# (also, macOS does not support `cp --no-preserve=mode`)
'cat "$(rlocation "$%s")" > "$DST_DIR/%s"' % item
for item in enumerate(_codegen_outs, 2)
],
is_executable = True,