aboutsummaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-04-14 10:40:08 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-04-14 10:40:08 -0700
commit579856e502eab87ea8a73a76dc63a2108e5a8cc8 (patch)
treefeb34b0985b29f45073ac81e21982a368e0a3542 /std
parent5a479720ec5786145dac6c85deae4e322bd5972e (diff)
parentfcedc35551cc6b14756499414e47c33004de3be4 (diff)
downloadzig-579856e502eab87ea8a73a76dc63a2108e5a8cc8.tar.gz
zig-579856e502eab87ea8a73a76dc63a2108e5a8cc8.zip
Merge branch 'eval'
Diffstat (limited to 'std')
-rw-r--r--std/rand.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/std/rand.zig b/std/rand.zig
index 9dee46fbe5..1fcfd78f75 100644
--- a/std/rand.zig
+++ b/std/rand.zig
@@ -7,6 +7,7 @@ pub struct Rand {
index: isize,
/// Initialize random state with the given seed.
+ #static_eval_enable(false)
pub fn init(seed: u32) -> Rand {
var r: Rand = undefined;
r.index = 0;