module exports and name mangling

This commit is contained in:
nub31
2026-02-10 20:33:27 +01:00
parent 6ae10d5f90
commit 7872a4b6b8
7 changed files with 139 additions and 48 deletions

View File

@@ -1,10 +1,10 @@
module test
struct person {
export packed struct person {
age: i32
name: string
}
func do_something(name: string): i32 {
export func do_something(name: string): i32 {
return 3
}