bytecodealliance / bytecodealliance/wasmtime

Consider a different bit value for `SH_WASMTIME_NOT_EXECUTED`

Open
#14,101 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

> Note that this has the same value as `SHF_WRITE`, so this happens to work for `.text` sections, but seems like it was only by chance. I'm not sure which bit would be better though (if we use an OS or PROC bit then probably the reader side would need an additional OS or machine check too).

_Originally posted by @philipc in [#14096](https://github.com/bytecodealliance/wasmtime/pull/14096/changes#r3742372260)_

We probably shouldn't be colliding with bits already allocated to other definitions as that may just cause confusion.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.