refactor code to prepare for multiple files
verbose compiler output is now behind --verbose flag
This commit is contained in:
6
example/shared_library/mathtest.zig
Normal file
6
example/shared_library/mathtest.zig
Normal file
@@ -0,0 +1,6 @@
|
||||
#version("2.0.0")
|
||||
export library "mathtest";
|
||||
|
||||
export fn add(a: i32, b: i32) -> i32 {
|
||||
return a + b;
|
||||
}
|
||||
Reference in New Issue
Block a user