add directive to specify root export version

This commit is contained in:
Andrew Kelley
2015-11-30 02:11:31 -07:00
parent ac0c5a3707
commit 8f0f318c39
8 changed files with 128 additions and 75 deletions

View File

@@ -1,3 +1,4 @@
#version("2.0.0")
export library "mathtest";
export fn add(a: i32, b: i32) -> i32 {