aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/extern.zig
AgeCommit message (Collapse)Author
2025-10-02Coff2: create a new linker from scratchJacob Young
2025-08-15Add test for passing extern function to functionantlilja
2025-08-03zig fmt: apply new cast builtin orderJustus Klausecker
2025-06-16rename spirv backend nameAli Cheraghi
`stage2_spirv64` -> `stage2_spirv`
2025-05-31Legalize: implement scalarization of binary operationsJacob Young
2025-01-16all: update to `std.builtin.Type.Pointer.Size` field renamesmlugg
This was done by regex substitution with `sed`. I then manually went over the entire diff and fixed any incorrect changes. This diff also changes a lot of `callconv(.C)` to `callconv(.c)`, since my regex happened to also trigger here. I opted to leave these changes in, since they *are* a correct migration, even if they're not the one I was trying to do!
2024-08-15elf: fix up riscv for `.got.zig` rewriteDavid Rubin
2024-07-21ip: use `getExternFunc` in `getCoerced`David Rubin
`ip.get` specifically doesn't allow `extern_func` keys to access it.
2024-06-13riscv: arbitrary sized arraysDavid Rubin
2024-05-11riscv: add stage2_riscv to test matrix and bypass failing testsDavid Rubin
2024-04-13cbe: fix optional codegenJacob Young
Also reduce ctype pool string memory usage, remove self assignments, and enable more warnings.
2024-03-25behavior: skip newly failing testmlugg
This test has regressed due to a bug in the self-hosted COFF linker. Jakub recommended disabling it for now, since the COFF linker is being effectively rewritten, so there is little point in fixing the bug now.
2024-03-09Sema: perform codegen for anon decl created by `@extern`mlugg
This fixes a bug where, at least with the LLVM backend, `@extern` calls which had the same name as a normal `extern` in the same Zcu would result in the `@extern` incorrectly suffixing the identifier `.2`. Usually, the LLVM backend has a system to change the generated globals to "collapse" them all together, but it only works if `updateDecl` is called!
2024-02-06x86_64+macho: pass more behavior testsJakub Konka
2024-02-04spirv: update testsRobin Voetter
2024-01-15Sema: fix `@extern` declsJacob Young
Closes #18550
2024-01-11LLVM: fix lowering of extern anyopaqueAndrew Kelley
closes #18461