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(engine-dylib) Remove temporary file used to creating an artifact #2518

Merged
merged 1 commit into from
Aug 13, 2021

Conversation

Hywan
Copy link
Contributor

@Hywan Hywan commented Aug 12, 2021

Description

When creating an artifact, a first temporary file is created and kept
to prevent the file from being removed by the system. This patch
removes that temporary file manually whatever the linker fails or not.

Fixes #2501.

Review

  • Add a short description of the change to the CHANGELOG.md file

@Hywan Hywan added bug Something isn't working 📦 lib-engine-dylib About wasmer-engine-dylib labels Aug 12, 2021
@Hywan Hywan requested a review from syrusakbary August 12, 2021 13:29
@Hywan Hywan self-assigned this Aug 12, 2021
Hywan added a commit to Hywan/wasmer that referenced this pull request Aug 12, 2021
@syrusakbary
Copy link
Member

bors r+

bors bot added a commit that referenced this pull request Aug 13, 2021
2518: fix(engine-dylib) Remove temporary file used to creating an artifact r=syrusakbary a=Hywan

# Description

When creating an artifact, a first temporary file is created and kept
to prevent the file from being removed by the system. This patch
removes that temporary file manually whatever the linker fails or not.

Fixes #2501.

# Review

- [x] Add a short description of the change to the CHANGELOG.md file


Co-authored-by: Ivan Enderlin <[email protected]>
@bors
Copy link
Contributor

bors bot commented Aug 13, 2021

Build failed:

When creating an artifact, a first temporary file is created and kept
to prevent the file from being removed by the system. This patch
removes that temporary file manually whatever the linker fails or not.
@Hywan
Copy link
Contributor Author

Hywan commented Aug 13, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 13, 2021

@bors bors bot merged commit b72c6f5 into wasmerio:master Aug 13, 2021
@syrusakbary syrusakbary added this to the v2.1 milestone Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 📦 lib-engine-dylib About wasmer-engine-dylib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Temp files are not removed in dylib engine
2 participants