File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,10 @@ Compatibility is based on the following:
27
27
* Version of the .mpy file: the version of the file must match the version
28
28
supported by the system loading it.
29
29
30
- * Bytecode features used in the .mpy file: there are two bytecode features
31
- which must match between the file and the system: unicode support and
32
- inline caching of map lookups in the bytecode.
33
-
34
30
* Small integer bits: the .mpy file will require a minimum number of bits in
35
31
a small integer and the system loading it must support at least this many
36
32
bits.
37
33
38
- * Qstr compression window size: the .mpy file will require a minimum window
39
- size for qstr decompression and the system loading it must have a window
40
- greater or equal to this size.
41
-
42
34
* Native architecture: if the .mpy file contains native machine code then
43
35
it will specify the architecture of that machine code and the system
44
36
loading it must support execution of that architecture's code.
@@ -66,8 +58,6 @@ If importing an .mpy file fails then try the following:
66
58
print('mpy flags:', end='')
67
59
if arch:
68
60
print(' -march=' + arch, end='')
69
- if not sys_mpy & 0x200:
70
- print(' -mno-unicode', end='')
71
61
print()
72
62
73
63
* Check the validity of the .mpy file by inspecting the first two bytes of
You can’t perform that action at this time.
0 commit comments