| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-10-17 | Don't allow assignment to mutable-wha? | Brian Anderson | -9/+73 | |
| 2011-10-17 | [Lib] int.rs, uint.rs: added max_value, min_value | David Rajchenbach-Teller | -0/+35 | |
| 2011-10-17 | [Lib] uint.rs: +min_value | David Rajchenbach-Teller | -1/+1 | |
| 2011-10-17 | [Lib] rand.rs: type rng now defines next_float | David Rajchenbach-Teller | -0/+8 | |
| 2011-10-17 | [Lib] u32.rs: created | David Rajchenbach-Teller | -0/+14 | |
| 2011-10-17 | [Lib] u8.rs, u64.rs: +min_value, max_value | David Rajchenbach-Teller | -1/+5 | |
| 2011-10-17 | Change the linkage order on linux and add -ldl | Brian Anderson | -5/+6 | |
| -lrt and -ldl need to be specified after -lrustrt since they are only used by rustrt. | ||||
| 2011-10-16 | Only link librt on linux | Brian Anderson | -1/+8 | |
| 2011-10-16 | Fix link error by explicitly link needed DSOs | Haitao Li | -1/+1 | |
| Building Rust(version 280bc56) on Ubuntu 11.10 failed with link error, like: compile_and_link: stage0/lib/rustc/i686-unknown-linux-gnu/lib/libstd.so compile_and_link: stage0/lib/rustc/i686-unknown-linux-gnu/bin/rustc /local/src/rust/build/stage0/lib/rustc/i686-unknown-linux-gnu/lib/librustrt.so: undefined reference to `clock_gettime' collect2: ld returned 1 exit status error: linking with gcc failed with code 1 GCC toolchain released by Ubuntu 11.10 introduced a few compiler flags that are different with upstream GCC[1]. Flags "-Wl,--as-needed' and '-Wl,--no-copy-dt-needed-entries' are passed by default. Function clock_gettime from librt is used by librustrt, indirectly by rustc. It is necessary to explicitly pass the "-lrt" flags when building rustc. Please note since the toolchain changes will be the default in the next release(2.22) of binutils, this is not actually a Debian/Ubuntu specific issue. 1. https://wiki.ubuntu.com/OneiricOcelot/ReleaseNotes#GCC_4.6_Toolchain Signed-off-by: Haitao Li <lihaitao@gmail.com> | ||||
| 2011-10-15 | Update LinkModules invocation to use new prototype | Elly Jones | -1/+1 | |
| LLVM revision 141606 changes the prototype of llvm::Linker::LinkModules. Signed-off-by: Elly Jones <elly@leptoquark.net> | ||||
| 2011-10-14 | Use trans_expr_save_in instead of trans_expr when appropriate | Marijn Haverbeke | -2/+2 | |
| This guards against passing a save_in destination to nil or bot-typed things. | ||||
| 2011-10-14 | Don't crash when reporting an unresolved import in the nil scope | Marijn Haverbeke | -18/+22 | |
| Closes #1027 | ||||
| 2011-10-13 | Remove an unnecessary visitor from rustc::middle::fn_usage | Brian Anderson | -8/+1 | |
| 2011-10-13 | Fix a use of visit in rustc::middle::fn_usage | Brian Anderson | -1/+1 | |
| This was working by just skipping an AST node instead of doing the advertised check. I can't find a test case for it, but this is more correct. | ||||
| 2011-10-13 | Don't allow the value of generic bare functions to be taken | Brian Anderson | -5/+59 | |
| Issue #1038 | ||||
| 2011-10-13 | Rename rustc::middle::unsafeck to fn_usage | Brian Anderson | -15/+15 | |
| I'm going to add further checks unrelated to unsafe. Issue #1038 | ||||
| 2011-10-13 | Add a test that generic bare functions can be bound | Brian Anderson | -0/+10 | |
| Issue #1022 | ||||
| 2011-10-13 | Make trans_anon_obj properly thread its bcx | Marijn Haverbeke | -9/+3 | |
| Closes #893 Unfortunately, anon objs are still so broken as to be useless (fields don't work). | ||||
| 2011-10-13 | Properly fill single-variant zero-arg tag values. | Marijn Haverbeke | -9/+20 | |
| Closes #1034. Closes #1035. | ||||
| 2011-10-12 | Cleanse usage of some unsafe functions on win32 | Brian Anderson | -1/+5 | |
| 2011-10-12 | reimplement some of the unsafe stuff which got lost | Niko Matsakis | -156/+137 | |
| - blocks inherit unsafety - remove the --check-unsafe flag - add unsafe annotations where needed to get things to compile | ||||
| 2011-10-12 | remove unsafe tags | Niko Matsakis | -12/+12 | |
| 2011-10-12 | new test | Niko Matsakis | -0/+11 | |
| 2011-10-12 | make compiler emit more than 1 error in the case of unsafe | Niko Matsakis | -28/+12 | |
| 2011-10-12 | prohibit ptr deref unless in unsafe code | Niko Matsakis | -2/+31 | |
| 2011-10-12 | fix error msg | Niko Matsakis | -9/+2 | |
| 2011-10-12 | add some new tests | Niko Matsakis | -1/+23 | |
| 2011-10-12 | convert a few tests from unsafe fns to fns with unsafe bodies | Niko Matsakis | -3/+3 | |
| 2011-10-12 | make a good error msg if you try to use an unsafe fn for a test | Niko Matsakis | -8/+21 | |
| 2011-10-12 | improve the span used in test generation | Niko Matsakis | -6/+8 | |
| 2011-10-12 | add pass to check that unsafe fns cannot be used as values | Niko Matsakis | -1/+85 | |
| 2011-10-12 | all tests pass | Niko Matsakis | -3/+3 | |
| 2011-10-12 | all tests pass | Niko Matsakis | -6/+6 | |
| 2011-10-12 | continue to annotate functions as unsafe where neccessary | Niko Matsakis | -23/+22 | |
| 2011-10-12 | continue to annotate trans functions as unsafe where neccessary | Niko Matsakis | -5/+7 | |
| 2011-10-12 | continue to annotate trans functions as unsafe where neccessary | Niko Matsakis | -3/+3 | |
| 2011-10-12 | add unsafe tags into various points in the translation chains | Niko Matsakis | -76/+128 | |
| and so forth | ||||
| 2011-10-12 | Add unsafe tags to usage of LLVM funcs | Niko Matsakis | -5/+7 | |
| 2011-10-12 | make treatment of unchecked/unsafe blocks more uniform | Niko Matsakis | -0/+0 | |
| also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context. | ||||
| 2011-10-12 | Revert "Test for #954" | Brian Anderson | -4/+0 | |
| This reverts commit 7edb0438895cc7c54a9c4a8c07daa0ebf13bbb36. | ||||
| 2011-10-12 | Test for #954 | Brian Anderson | -0/+4 | |
| 2011-10-12 | Register snapshots | Brian Anderson | -0/+5 | |
| 2011-10-12 | Ignore stdtest::os::test_setenv. Fails periodically on mac | Brian Anderson | -0/+1 | |
| 2011-10-12 | make native functions markable as unsafe and incorporate that | Niko Matsakis | -16/+30 | |
| into the type check | ||||
| 2011-10-12 | skip test, remove whitespace | Niko Matsakis | -1/+2 | |
| 2011-10-12 | correct lines over 78 chars | Niko Matsakis | -2/+4 | |
| 2011-10-12 | enable unsafe checking but only with a flag --check-unsafe | Niko Matsakis | -14/+25 | |
| 2011-10-12 | make treatment of unchecked/unsafe blocks more uniform | Niko Matsakis | -20/+28 | |
| also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context. | ||||
| 2011-10-12 | add 'u' to one other place it was missing | Niko Matsakis | -0/+1 | |
| 2011-10-12 | add 'u' to decoder (kinda' important) | Niko Matsakis | -0/+1 | |
