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

--v8-flags conflict #20752

Open
danilovmy opened this issue Oct 1, 2023 · 1 comment
Open

--v8-flags conflict #20752

danilovmy opened this issue Oct 1, 2023 · 1 comment
Labels
upstream Changes in upstream are required to solve these issues

Comments

@danilovmy
Copy link

if i use those flags:

--v8-flags='--jitless'
--v8-flags='--lite-mode' 

this flags are discussed here: #6621

i recieve conflict message:

Warning: disabling flag --expose_wasm due to conflicting flags                                                                                                                                     
error: Uncaught ReferenceError: WebAssembly is not defined                                                                                                                                         
        const instance = await WebAssembly.instantiate(module, imports);                                                                                                                           
                         ^                                                                                                                                                                         
    at load (https://deno.land/x/denoflate@1.2.1/pkg/denoflate.js:216:26)                                                                                                                          
    at init (https://deno.land/x/denoflate@1.2.1/pkg/denoflate.js:247:40)                                                                                                                          
    at async https://deno.land/x/denoflate@1.2.1/mod.ts:13:1  
@marvinhagemeister marvinhagemeister transferred this issue from denoland/fresh Oct 1, 2023
@littledivy
Copy link
Member

WebAssembly in V8 is not exposed when --jitless is enabled.

Related upstream bug: https://bugs.chromium.org/p/v8/issues/detail?id=10329

@littledivy littledivy added the upstream Changes in upstream are required to solve these issues label Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Changes in upstream are required to solve these issues
Projects
None yet
Development

No branches or pull requests

2 participants