aboutsummaryrefslogtreecommitdiff
path: root/std/build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-03-26 06:39:28 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-03-26 06:39:28 -0400
commit5bc9feb5cb98fc13db62d01b2b9fec15677310a7 (patch)
tree12972dfc1f9b964bb74428ec0d6766e77b9b0be7 /std/build.zig
parent7ce753a16b0c16b4c6494467f42f2d5fe9a235e6 (diff)
downloadzig-5bc9feb5cb98fc13db62d01b2b9fec15677310a7.tar.gz
zig-5bc9feb5cb98fc13db62d01b2b9fec15677310a7.zip
organize std and make import relative to current file
closes #216
Diffstat (limited to 'std/build.zig')
-rw-r--r--std/build.zig15
1 files changed, 0 insertions, 15 deletions
diff --git a/std/build.zig b/std/build.zig
deleted file mode 100644
index f6b6f7177d..0000000000
--- a/std/build.zig
+++ /dev/null
@@ -1,15 +0,0 @@
-const mem = @import("mem.zig");
-
-pub const linking_libc = linkingLibrary("c");
-
-pub fn linkingLibrary(lib_name: []const u8) -> bool {
- // TODO shouldn't need this if
- if (@compileVar("link_libs").len != 0) {
- for (@compileVar("link_libs")) |link_lib| {
- if (mem.eql(u8, link_lib, lib_name)) {
- return true;
- }
- }
- }
- return false;
-}