Closed
Description
Original bug report.
Version: 0.7
Platform: OSX (installed via Homebrew)
Running rust help
displays an error.
$ rust help
The rust tool is a convenience for managing rust source code.
It acts as a shortcut for programs of the rust tool chain.
Usage: rust <command> [arguments]
The commands are:
build compile rust source files
run build an executable, and run it
test build a test executable, and run it
doc generate documentation from doc comments
pkg download, build, install rust packages
sketch run a rust interpreter
help show detailed usage of a command
rust(99583,0x108ce3000) malloc: *** mmap(size=7522747388523884544) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6
Updated information (by @alexcrichton, 7-28-2013)
The problem for this was patched over in #8086, the behavior seen was that the static slice of Command
structs would cause problems with iteration. It was determined that using iter()
caused problems while not using the method and iterating directly worked just fine.