aboutsummaryrefslogtreecommitdiff
path: root/std/build.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-05-19 10:39:59 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-05-19 10:39:59 -0400
commit051ee8e626111445c27d6c868cb0cdec6df7409e (patch)
treed144242d665fb7eff76dc3e561989146c84690a1 /std/build.zig
parentb483db486842c6d7d348b28ca09e56673e1bd800 (diff)
downloadzig-051ee8e626111445c27d6c868cb0cdec6df7409e.tar.gz
zig-051ee8e626111445c27d6c868cb0cdec6df7409e.zip
change slicing syntax from ... to ..
See #359
Diffstat (limited to 'std/build.zig')
-rw-r--r--std/build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/build.zig b/std/build.zig
index 29837b4ba4..d08fd389dd 100644
--- a/std/build.zig
+++ b/std/build.zig
@@ -335,7 +335,7 @@ pub const Builder = struct {
};
self.addRPath(rpath);
} else if (word.len > 2 and word[0] == '-' and word[1] == 'L') {
- const lib_path = word[2...];
+ const lib_path = word[2..];
self.addLibPath(lib_path);
} else {
%%io.stderr.printf("Unrecognized C flag from NIX_LDFLAGS: {}\n", word);