-
Notifications
You must be signed in to change notification settings - Fork 7.1k
3.3 version OHOS adaptation #20819
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
3.3 version OHOS adaptation #20819
Conversation
Signed-off-by: 冰冰冰 <[email protected]>
Signed-off-by: 冰冰冰 <[email protected]>
Signed-off-by: 冰冰冰 <[email protected]>
tests/lua-tests/src/controller.lua
Outdated
@@ -1,4 +1,7 @@ | |||
|
|||
-- jit off | |||
local jit = require("jit") | |||
jit.off() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have to disable jit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to security concerns, JIT needs to be turned off;We will consider adapting the third-party library to disable JIT in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, then it is better to only disable on OHOS and do it in mainmenu.lua.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to security concerns, JIT needs to be turned off;We will consider adapting the third-party library to disable JIT in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But current implementation disable it for all platforms.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry,modified
Signed-off-by: 冰冰冰 <[email protected]>
Signed-off-by: 冰冰冰 <[email protected]>
No description provided.