diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-02-16 19:02:26 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-02-16 19:02:26 -0500 |
| commit | c25742010d69e0e56f1fda99f1b986be52165e3b (patch) | |
| tree | edf3a9892df523fb66dfd4fc690c02c2bd24d439 /src/userland.cpp | |
| parent | 7eb0a3edcef2ab752ff1e45e6f1316b633b29606 (diff) | |
| download | zig-c25742010d69e0e56f1fda99f1b986be52165e3b.tar.gz zig-c25742010d69e0e56f1fda99f1b986be52165e3b.zip | |
add the dummy libc paths back in
Diffstat (limited to 'src/userland.cpp')
| -rw-r--r-- | src/userland.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/userland.cpp b/src/userland.cpp index 539735f436..2be97f22d6 100644 --- a/src/userland.cpp +++ b/src/userland.cpp @@ -146,8 +146,19 @@ int stage2_cmd_targets(const char *zig_triple) { } enum Error stage2_libc_parse(struct Stage2LibCInstallation *libc, const char *libc_file) { - const char *msg = "stage0 called stage2_libc_parse"; - stage2_panic(msg, strlen(msg)); + libc->include_dir = "/dummy/include"; + libc->include_dir_len = strlen(libc->include_dir); + libc->sys_include_dir = "/dummy/sys/include"; + libc->sys_include_dir_len = strlen(libc->sys_include_dir); + libc->crt_dir = ""; + libc->crt_dir_len = strlen(libc->crt_dir); + libc->static_crt_dir = ""; + libc->static_crt_dir_len = strlen(libc->static_crt_dir); + libc->msvc_lib_dir = ""; + libc->msvc_lib_dir_len = strlen(libc->msvc_lib_dir); + libc->kernel32_lib_dir = ""; + libc->kernel32_lib_dir_len = strlen(libc->kernel32_lib_dir); + return ErrorNone; } enum Error stage2_libc_render(struct Stage2LibCInstallation *self, FILE *file) { |
