How to disable import optimization? #327
Answered
by
zeux
petrihakkinen
asked this question in
Q&A
-
This may be a silly question or XY problem, but is there some way to disable import optimization for all globals (without listing them all explicitly in compile options)? I'm missing being able to monkey patch global functions, which has been a very useful debugging method in the past. I understand there are security and performance considerations, but this would only be used for debugging. |
Beta Was this translation helpful? Give feedback.
Answered by
zeux
Jan 26, 2022
Replies: 1 comment 4 replies
-
Setting optimizationLevel to 0 in CompileOptions would do this. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
zeux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting optimizationLevel to 0 in CompileOptions would do this.