Skip to content

Enable W ^ E in V8 for node.js build #40

@No9

Description

@No9

As mentioned on twitter https://twitter.com/EdSchouten/status/993144257438502912
cloudabi executables require W^E memory

V8 runtime enabled this by default in this commit v8/v8@bf19e60
However there seems to be a conflict with WASM so the feature has been put behind a flag for now
https://bugs.chromium.org/p/v8/issues/detail?id=7272
The flag is --write-protect-code-memory

I would have thought patching this line https://github.com/nodejs/node/blob/82e475dc75751df08d80bd6e25926bd25c1794f2/deps/v8/src/flag-definitions.h#L675 to true should be enough to get this up and running but any thoughts appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions