Commit 2b82f51
committed
unix/alloc: Map executable memory for code loading when needed.
This commit lets the Unix port use the new
MICROPY_PERSISTENT_CODE_LOAD_NATIVE configuration entry.
The Unix port needs to allocate memory with specific flags that let the
operating system run executable code from there. This functionality was
gated behind the presence of a native emitter and thus its inclusion
condition had to be updated.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>1 parent 9e9da6c commit 2b82f51
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
0 commit comments