fix undefined reference to memcpy in release mode

when not depending on libc, we generate memcpy and memset
implementations.
This commit is contained in:
Andrew Kelley
2016-01-06 06:40:25 -07:00
parent 5e64c4d92f
commit 5f0bfcac24
7 changed files with 85 additions and 46 deletions

View File

@@ -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; }