Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jun 19, 2022

These was a bug in my imlemenation 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 futher actions from modifying them and resulting is a
strange error:

llvm-objcopy.exe: error: permission denied

@sbc100
Copy link
Collaborator Author

sbc100 commented Jun 19, 2022

Will land TBR to fix the emscripten roller (assuming tests pass)

These was a bug in my imlemenation 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 futher actions from modifying them and resulting is a
strange error:

```llvm-objcopy.exe: error: permission denied```
@sbc100 sbc100 force-pushed the fix_webassembly_windows branch from c3a8f37 to 524108e Compare June 19, 2022 14:24
@sbc100 sbc100 merged commit 3ebf9f1 into main Jun 19, 2022
@sbc100 sbc100 deleted the fix_webassembly_windows branch June 19, 2022 14:51
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