zig/src
Andrew Kelley 67b4de33d2
compile error for import outside package path
closes #2024

there's a new cli option `--main-pkg-path` which you can use to choose
a different root package directory besides the one inferred from the
root source file

and a corresponding build.zig API:
foo.setMainPkgPath(path)
2019-03-02 10:38:27 -05:00
..
all_types.hpp Merge pull request #2020 from ziglang/kill-namespace-type 2019-03-01 18:07:46 -05:00
analyze.cpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
analyze.hpp gen-h: use the bare type names for now 2019-03-01 17:36:08 -05:00
ast_render.cpp translate-c: use C pointer type everywhere 2019-02-11 14:56:59 -05:00
ast_render.hpp translate-c: use C pointer type everywhere 2019-02-11 14:56:59 -05:00
bigfloat.cpp add f16 type 2018-06-27 16:20:04 +02:00
bigfloat.hpp add f16 type 2018-06-27 16:20:04 +02:00
bigint.cpp delete incorrect TODO comment 2019-02-25 16:36:18 -05:00
bigint.hpp add @popCount intrinsic 2018-07-07 00:25:32 -04:00
blake2.h stage1: import blake2b implementation 2018-09-05 23:23:11 -04:00
blake2b.c stage1: build blake code with -std=c99 2018-09-11 17:29:18 -04:00
buffer.cpp the same string literal codegens to the same constant 2018-01-11 21:02:30 -05:00
buffer.hpp struct types get fully qualified names 2019-02-28 15:40:57 -05:00
c_tokenizer.cpp translate-c: refactor prefix and suffix op C macro parsing 2017-12-07 11:52:52 -05:00
c_tokenizer.hpp translate-c: refactor prefix and suffix op C macro parsing 2017-12-07 11:52:52 -05:00
cache_hash.cpp @cImport works with --cache on 2019-02-25 14:03:36 -05:00
cache_hash.hpp @cImport works with --cache on 2019-02-25 14:03:36 -05:00
codegen.cpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
codegen.hpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
compiler.cpp remove zig build --init. add zig init-lib and zig init-exe 2018-09-17 17:11:18 -04:00
compiler.hpp remove zig build --init. add zig init-lib and zig init-exe 2018-09-17 17:11:18 -04:00
config.h.in find libc and zig std lib at runtime 2018-03-30 17:10:54 -04:00
errmsg.cpp
errmsg.hpp
error.cpp windows returns EINVAL for fopen when there is an asterisk in the name 2019-02-26 23:02:57 -05:00
error.hpp windows returns EINVAL for fopen when there is an asterisk in the name 2019-02-26 23:02:57 -05:00
hash_map.hpp
ir_print.cpp fix @bitCast when src/dest types have mismatched handle_is_ptr 2019-02-22 08:49:27 -05:00
ir_print.hpp
ir.cpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
ir.hpp typecheck the panic function 2019-02-15 19:19:28 -05:00
libc_installation.cpp stage1: fix unused function error on freebsd and netbsd 2019-02-27 08:40:54 -05:00
libc_installation.hpp introduce sys_include_dir for when sys/* files are not with stdlib.h 2019-02-26 17:26:34 -05:00
link.cpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
list.hpp
main.cpp compile error for import outside package path 2019-03-02 10:38:27 -05:00
os.cpp struct types get fully qualified names 2019-02-28 15:40:57 -05:00
os.hpp struct types get fully qualified names 2019-02-28 15:40:57 -05:00
parser.cpp remove namespace type; files are empty structs 2019-02-28 10:11:32 -05:00
parser.hpp remove namespace type; files are empty structs 2019-02-28 10:11:32 -05:00
range_set.cpp
range_set.hpp
softfloat.hpp
target.cpp better error message for -target windows CLI 2019-03-01 18:42:09 -05:00
target.hpp breaking changes to the way targets work in zig 2019-02-26 15:58:10 -05:00
tokenizer.cpp added C pointer type and implicit int-to-ptr for this type 2019-02-10 00:14:30 -05:00
tokenizer.hpp added C pointer type and implicit int-to-ptr for this type 2019-02-10 00:14:30 -05:00
translate_c.cpp remove namespace type; files are empty structs 2019-02-28 10:11:32 -05:00
translate_c.hpp remove namespace type; files are empty structs 2019-02-28 10:11:32 -05:00
util.cpp tier 2 support for freebsd 2018-11-27 20:56:43 -05:00
util.hpp struct types get fully qualified names 2019-02-28 15:40:57 -05:00
windows_com.hpp compiling on mingw is now supported (#1542) 2018-09-18 00:13:17 -04:00
windows_sdk.cpp fixed mingw compilation 2018-10-27 11:35:01 -04:00
windows_sdk.h self-hosted: add first compare-output test 2018-07-23 00:35:53 -04:00
zig_clang_cc1_main.cpp zig cc: remove "polly" which was an undefined symbol on macos 2019-02-24 13:37:41 -05:00
zig_clang_cc1as_main.cpp add zig cc command to act like a C compiler 2019-02-24 12:53:28 -05:00
zig_clang_driver.cpp zig cc: work around clang calling GetCommandLine on Windows 2019-02-24 15:31:02 -05:00
zig_clang.cpp Silence gcc8 class-memaccess warnings 2019-02-17 14:40:01 -05:00
zig_clang.h translate-c: 4 more functions using C decls 2019-02-16 19:48:39 -05:00
zig_llvm.cpp breaking changes to the way targets work in zig 2019-02-26 15:58:10 -05:00
zig_llvm.h breaking changes to the way targets work in zig 2019-02-26 15:58:10 -05:00