rust/src/lib
Marijn Haverbeke 77c1b9650f Some more workarounds to please the alias checker
Some of the vec utilities now only work on immutable vecs, since they
would have to be rewritten to do a lot more copying to be alias-safe.

Some forced copying was added to map.rs, showing a weakness in the
alias checker (or maybe the alias system): when fn args are passed
into a function, calling them must assume all aliases that are not
immutably rooted (directly connected to a local or temporary without
any mutable edges) become invalid. This will be a drag on functional
programming in Rust.

Work around alias issues in the stdlib
2011-06-09 13:08:39 +02:00
..
_task.rs Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
bitv.rs stdlib: Use if/alt expressions in std::bitv 2011-05-22 02:10:08 -04:00
box.rs stdlib: export ptr_eq from box, but not rustrt 2011-05-20 21:32:57 -04:00
dbg.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
deque.rs stdlib: Remove unneeded type params from alt patterns 2011-05-31 01:23:53 -04:00
ebml.rs stdlib: Remove unneeded type params from alt patterns 2011-05-31 01:23:53 -04:00
extfmt.rs stdlib: Use spans for #fmt errors originating in std 2011-06-04 19:48:19 -04:00
fs.rs More work on proper linkage name-mangling. Almost right, aside from version numbers. 2011-06-07 18:08:17 -07:00
generic_os.rs stdlib: Use if/alt expressions in std::generic_os 2011-05-22 02:10:09 -04:00
getopts.rs stdlib: Add some functions to getopts to deal with optional arguments more easily 2011-06-01 18:32:05 -07:00
int.rs stdlib: Use if/alt expressions in std::int 2011-05-22 02:10:09 -04:00
io.rs stdlib: Use if/alt expressions in std::io 2011-05-22 02:10:10 -04:00
linux_os.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
list.rs stdlib: Remove unneeded type params from alt patterns 2011-05-31 01:23:53 -04:00
macos_os.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
map.rs Some more workarounds to please the alias checker 2011-06-09 13:08:39 +02:00
option.rs stdlib: Remove unneeded type params from alt patterns 2011-05-31 01:23:53 -04:00
posix_fs.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
rand.rs Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
run_program.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
sha1.rs rustc: Fix type mismatch in lib/sha1.rs constants 2011-05-17 20:13:03 -07:00
smallintmap.rs rustc: Use a set-based approach to unification; remove ty_bound_param and ty_local. 2011-06-07 19:33:18 -07:00
sort.rs Some more workarounds to please the alias checker 2011-06-09 13:08:39 +02:00
std.rc Tidy up 'export meta' situation now that snapshot understands it. 2011-06-08 15:58:03 -07:00
str.rs Fix and un-xfail vec-append test 2011-06-02 16:45:26 +02:00
sys.rs Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
term.rs Rewrite everything to use [] instead of vec() in value position. 2011-05-16 18:21:22 -07:00
time.rs Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
u8.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
ufind.rs Some more workarounds to please the alias checker 2011-06-09 13:08:39 +02:00
uint.rs rustc: Use a set-based approach to unification; remove ty_bound_param and ty_local. 2011-06-07 19:33:18 -07:00
util.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00
vec.rs Some more workarounds to please the alias checker 2011-06-09 13:08:39 +02:00
win32_fs.rs Downcase std modules again, move to :: for module dereferencing 2011-05-12 21:30:44 +02:00
win32_os.rs Finally rename std::_xxx to std::xxx 2011-05-17 20:41:41 +02:00