Skip to content

Commit 4ba4c60

Browse files
authored
Add codesize test for EXPORT_ES6. NFC (#23215)
I don't think there any any other codesize tests that cover this.
1 parent c26d805 commit 4ba4c60

8 files changed

+12
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
a (memory)
2+
b (__wasm_call_ctors)
3+
c (add)
4+
d (__indirect_function_table)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
$__wasm_call_ctors
2+
$add
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1400
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2865
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
73

test/test_other.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8846,6 +8846,7 @@ def strip_numeric_suffixes(funcname):
88468846
'64': (['-Oz', '-sMEMORY64'], [], []), # noqa
88478847
# WasmFS should not be fully linked into a minimal program.
88488848
'wasmfs': (['-Oz', '-sWASMFS'], [], []), # noqa
8849+
'esm': (['-Oz', '-sEXPORT_ES6'], [], []), # noqa
88498850
})
88508851
def test_codesize_minimal(self, *args):
88518852
self.set_setting('STRICT')

0 commit comments

Comments
 (0)