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

Document necessary preferences for running on HarmonyOS NEXT #35

Open
jschwe opened this issue Nov 15, 2024 · 2 comments
Open

Document necessary preferences for running on HarmonyOS NEXT #35

jschwe opened this issue Nov 15, 2024 · 2 comments

Comments

@jschwe
Copy link
Member

jschwe commented Nov 15, 2024

On HarmonyOS NEXT JIT is forbidden by the system policy, so one needs to disable JIT in the servo preferences.
In the future we could perhaps during startup check in servo / the embedder if JIT is possible and disable JIT based on the result of those checks, but for now it is sufficient to document the required preferences.

prefs.json:

  "js.disable_jit": true,
@sagudev
Copy link
Member

sagudev commented Nov 15, 2024

Isn't js.disable_jit enough? I think it disables JIT globally so other options should be nop.

@jschwe
Copy link
Member Author

jschwe commented Nov 15, 2024

Thanks! Indeed just js.disable_jit is enough. I'm not sure why it didn't work the first time I tried - maybe I forgot to rebuild or something...

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

No branches or pull requests

2 participants