Skip to content

Wasm targets should append lld --stack-first (again) #10567

@zetanumbers

Description

@zetanumbers

Zig Version

0.9.0

Steps to Reproduce

Expected Behavior

Stack should begin before globals on wasm targets according to #4496, i. e.

(global $__stack_pointer (mut i32) (i32.const 8192))

Actual Behavior

(global $__stack_pointer (mut i32) (i32.const 14816))

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasm32-bit and 64-bit WebAssemblybugObserved behavior contradicts documented or intended behaviorregressionIt worked in a previous version of Zig, but stopped working.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions