diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-06 06:40:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-06 06:40:25 -0700 |
| commit | 5f0bfcac24036e1fff0b2beda643a60dad465213 (patch) | |
| tree | 7576c1acb2245b119c2b8b985cc3b8e2be9845d4 /test/run_tests.cpp | |
| parent | 5e64c4d92f109638111d78b6ab97feb645ee0a01 (diff) | |
| download | zig-5f0bfcac24036e1fff0b2beda643a60dad465213.tar.gz zig-5f0bfcac24036e1fff0b2beda643a60dad465213.zip | |
fix undefined reference to memcpy in release mode
when not depending on libc, we generate memcpy and memset
implementations.
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index b44dc6ac7a..661100f6b4 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -109,6 +109,7 @@ static void add_compiling_test_cases(void) { add_simple_case("function call", R"SOURCE( use "std.zig"; + use "syscall.zig"; fn empty_function_1() {} fn empty_function_2() { return; } |
