-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid keeping module file open in tools/webassembly.py API (#17271)
These was a bug in my implementation of `@cache` that I added in #17255 where it was keeping the underlying wasm file open and never actually closing it. This is because I was using the incoming arguments as the hash key instead of their hash value. The bug only manifested on windows where open files are locked in some way prevented further actions from modifying them and resulting is a strange error: ```llvm-objcopy.exe: error: permission denied```
- Loading branch information
Showing
2 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters