aboutsummaryrefslogtreecommitdiff
path: root/example/shared_library
diff options
context:
space:
mode:
Diffstat (limited to 'example/shared_library')
-rw-r--r--example/shared_library/mathtest.zig9
1 files changed, 0 insertions, 9 deletions
diff --git a/example/shared_library/mathtest.zig b/example/shared_library/mathtest.zig
index 96e41f847c..a04ec1544d 100644
--- a/example/shared_library/mathtest.zig
+++ b/example/shared_library/mathtest.zig
@@ -1,12 +1,3 @@
-// TODO Remove this workaround
-comptime {
- const builtin = @import("builtin");
- if (builtin.os == builtin.Os.macosx) {
- @export("__mh_execute_header", _mh_execute_header, builtin.GlobalLinkage.Weak);
- }
-}
-var _mh_execute_header = extern struct {x: usize}{.x = 0};
-
export fn add(a: i32, b: i32) i32 {
return a + b;
}