diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-04-12 13:30:52 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-04-12 13:30:52 -0700 |
| commit | be4df96e4b80a3307b3661fd5ca3114478499daf (patch) | |
| tree | b4a65aecebe565e7602b6ebe796e8dc96fb6b049 /std | |
| parent | aa89fd3b3e4522fe9199049a4fcc6bdc69f4bfde (diff) | |
| download | zig-be4df96e4b80a3307b3661fd5ca3114478499daf.tar.gz zig-be4df96e4b80a3307b3661fd5ca3114478499daf.zip | |
passing all tests
Diffstat (limited to 'std')
| -rw-r--r-- | std/rand.zig | 1 |
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; |
