-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
arch-wasm32-bit and 64-bit WebAssembly32-bit and 64-bit WebAssemblybugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinkingregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.
Milestone
Description
In the llvm17 branch, this test is failing:
└─ link.wasm.export-data.test transitive failure
└─ CheckObject failure
test.link.wasm.export-data.CheckObject: error:
========= expected to find: ==========================
index 1
========= but parsed file does not contain it: =======
Section import
size 26
entries 1
module env
name __memory_base
kind global
type i32
mutable true
Section table
size 8
entries 1
type funcref
min 0
Section memory
size 7
entries 1
min 11
Section global
size 23
entries 3
type i32
mutable true
i32.const 100010
type i32
mutable false
i32.const 4
type i32
mutable false
i32.const 0
Section export
size 26
entries 3
name foo
kind global
index 2
name bar
kind global
index 3
name memory
kind memory
index 0
Section data
size 18
entries 1
memory index 0x0
i32.const 0
size 8
Section custom
size 55
name name
type function
size 1
names 0
type global
size 33
names 2
index 0
name __stack_pointer
index 0
name __memory_base
type data_segment
size 10
names 1
index 0
name .rodata
Section custom
size 1777
name .debug_info
Section custom
size 523
name .debug_pubtypes
Section custom
size 212
name .debug_abbrev
Section custom
size 250
name .debug_line
Section custom
size 2136
name .debug_str
Section custom
size 427
name .debug_pubnames
Section custom
size 93
name producers
fields 2
field_name language
values 1
value_name Zig
version 0.12.0-dev.193+0aa9b5d32
field_name processed-by
values 1
value_name Zig
version 0.12.0-dev.193+0aa9b5d32
Section custom
size 44
name target_features
features 2
+ mutable-globals
+ sign-ext
Reproduce by running zig build test-link
.
Metadata
Metadata
Assignees
Labels
arch-wasm32-bit and 64-bit WebAssembly32-bit and 64-bit WebAssemblybugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behaviorlinkingregressionIt worked in a previous version of Zig, but stopped working.It worked in a previous version of Zig, but stopped working.