rust/src/lib
Haitao Li 3e303af86b rustc: Add a path attribute for crate directives
The path information was an optional "filename" component of crate
directive AST. It is now replaced by an attribute with metadata named
"path".

With this commit, a directive

  mod foo = "foo.rs";

should be written as:

  #[path = "foo.rs"]
  mod foo;

Closes issue #906.
2011-11-24 15:31:18 -08:00
..
bitv.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
bool.rs Fixed documentation comment glitches in the logic ADTs 2011-11-21 11:15:19 -08:00
box.rs stdlib: Make reinterpret_cast and leak unsafe 2011-10-28 14:19:17 -07:00
char.rs [Stdlib doc] char.rs: documented to_digit, cmp 2011-11-06 18:10:22 +01:00
comm.rs rt: Remove fail calls from rust_task::yield 2011-11-18 15:36:48 -08:00
ctypes.rs refactor all unix types 2011-11-16 15:24:08 -08:00
dbg.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
deque.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
ebml.rs Remove last uses of iterators from stdlib 2011-10-21 12:31:48 +02:00
either.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
extfmt.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
float.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
four.rs Fixed documentation comment glitches in the logic ADTs 2011-11-21 11:15:19 -08:00
fs.rs stdlib: Use c_ints instead of ints for natives 2011-11-22 17:16:20 -08:00
fun_treemap.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
generic_os.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
getopts.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
int.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
io.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
json.rs Fix long lines 2011-11-07 15:46:00 -08:00
linux_os.rs stdlib: Use c_ints instead of ints for natives 2011-11-22 17:16:20 -08:00
list.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
macos_os.rs stdlib: Use c_ints instead of ints for natives 2011-11-22 17:16:20 -08:00
map.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
math.rs std: declared fns in math to be pure; requires calling libc via unsafe 2011-11-21 13:00:00 +01:00
net.rs Add more std documentation 2011-10-26 18:32:34 -07:00
option.rs Rollback return-by-reference 2011-11-23 11:02:27 +01:00
posix_fs.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
ptr.rs Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
rand.rs Fix long lines 2011-11-22 14:43:18 -08:00
result.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
rope.rs Fix some indentation and idioms in rope.rs 2011-11-15 13:32:35 +01:00
run_program.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
sha1.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
smallintmap.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
sort.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
std.rc rustc: Add a path attribute for crate directives 2011-11-24 15:31:18 -08:00
str.rs Replace 'mutable?' with 'const' 2011-11-16 14:41:32 -08:00
sys.rs rt: Remove size_of and align_of functions. Now written in Rust 2011-11-18 10:32:27 -08:00
task.rs rt: Remove some stack-wasting macros from rust_task::yield 2011-11-18 15:59:10 -08:00
tempfile.rs stdlib: Use c_ints instead of ints for natives 2011-11-22 17:16:20 -08:00
term.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
test.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
time.rs Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
treemap.rs Update stdlib, compiler, and tests to new kind system 2011-11-18 12:49:01 +01:00
tri.rs Fixed documentation comment glitches in the logic ADTs 2011-11-21 11:15:19 -08:00
u8.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
u32.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
u64.rs Replaced constant functions with actual constants in std and updated tests 2011-11-15 18:02:45 -08:00
ufind.rs Replace 'mutable?' with 'const' 2011-11-16 14:41:32 -08:00
uint.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
unicode.rs Use attributes for native module ABI and link name 2011-11-16 11:35:13 -08:00
unsafe.rs intrinsics: Move the call to upcall_fail out of rust_intrinsic_cast 2011-11-18 10:32:27 -08:00
util.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
vec.rs Separate vec::map and vec::map_mut 2011-11-21 12:07:41 +01:00
win32_fs.rs remove compile-command from local variable blocks 2011-11-17 11:46:13 -08:00
win32_os.rs stdlib: win32 fixes for dir handling 2011-11-22 15:14:34 -08:00