Find a file
Tim Chevalier f841e89443 Support unchecked blocks
This patch supports the syntax

    unchecked {
      ...
    }

    to disable purity checking within a block. Presumably it will only be
    used within a declared "pure fn". However, there is no checking that it
    doesn't occur elsewhere, and it would be harmless for it to do so.

    I went with Lindsey's suggestion for the syntax, but it's subject to
    change.

    This allows you to write code that uses predicates that call arbitrary
    Rust functions, but you must declare your intentions by wrapping it in
    an unchecked { ... } block. The test case run-pass/unchecked-predicates.rs
    demonstrates how to do that.
2011-08-25 18:28:23 -07:00
doc Removing mention of domain, updating the communication examples. 2011-08-25 12:33:09 -07:00
mk mk: Introduce CFG_DISABLE_OPTIMIZE_CXX 2011-08-24 11:59:21 -07:00
src Support unchecked blocks 2011-08-25 18:28:23 -07:00
.gitignore More additions to .gitignore. 2011-07-13 13:51:30 -07:00
AUTHORS.txt Add Jesse Ruderman to AUTHORS.txt 2011-07-10 17:08:18 -07:00
configure Munge libuv makefiles sufficiently to build out of tree. 2011-08-05 11:57:07 -07:00
LICENSE.txt Add libuv license info to LICENSE.txt 2011-08-09 12:00:00 -07:00
Makefile.in Munge libuv makefiles sufficiently to build out of tree. 2011-08-05 11:57:07 -07:00
README Update README to point to github, test email notification. 2010-06-23 21:11:10 -07:00

This is a compiler and suite of associated libraries and documentation for the
Rust programming language.

See LICENSE.txt for terms of copyright and redistribution.

See http://github.com/graydon/rust for current development page.