Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compile): atomically write compile output #24378

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

losfair
Copy link
Member

@losfair losfair commented Jul 1, 2024

Atomically write deno compile output file so we won't get a partially written ELF/PE file, and prevents corrupting running processes.

@losfair losfair requested a review from dsherret July 1, 2024 12:01
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@losfair losfair merged commit 9c1f741 into denoland:main Jul 1, 2024
17 checks passed
sbmsr pushed a commit to sbmsr/deno-1 that referenced this pull request Jul 2, 2024
Atomically write `deno compile` output file so we won't get a partially
written ELF/PE file, and prevents corrupting running processes.
zebreus pushed a commit to zebreus/deno that referenced this pull request Jul 8, 2024
Atomically write `deno compile` output file so we won't get a partially
written ELF/PE file, and prevents corrupting running processes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants