summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-05-06 00:17:41 +0200
committerAraq <rumpf_a@web.de>2014-05-06 00:17:41 +0200
commit77d5ab1708369af8a9bccf47117f2461dc4a290c (patch)
treeddd0f283a4f6a83ef45b97cecaa6d91e3bf9d119 /lib
parent71de04b4ba1af0ea969538d143ad893443bcb614 (diff)
downloadNim-77d5ab1708369af8a9bccf47117f2461dc4a290c.tar.gz
bootstraps works again; get rid of compile-time 'rand' (too weird)
Diffstat (limited to 'lib')
-rw-r--r--lib/system.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index cfc8ceb6f..ad98540a7 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -2719,9 +2719,6 @@ proc `/=`*[T: float|float32|float64] (x: var T, y: T) {.inline, noSideEffect.} =
 
 proc `&=`* (x: var string, y: string) {.magic: "AppendStrStr", noSideEffect.}
 
-proc rand*(max: int): int {.magic: "Rand", sideEffect.}
-  ## compile-time `random` function. Useful for debugging.
-
 proc astToStr*[T](x: T): string {.magic: "AstToStr", noSideEffect.}
   ## converts the AST of `x` into a string representation. This is very useful
   ## for debugging.