about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorHaitao Li <lihaitao@gmail.com>2011-11-22 12:31:09 +0800
committerBrian Anderson <banderson@mozilla.com>2011-11-24 15:31:18 -0800
commit3e303af86b5380c7d53a8879d883cd36ad2a69a6 (patch)
tree342981fb73a0039355f343a2210dbedb95e7c970 /src/rt/rust_task.cpp
parent547ec241bd50e86752e4c39047b417550f655349 (diff)
downloadrust-3e303af86b5380c7d53a8879d883cd36ad2a69a6.tar.gz
rust-3e303af86b5380c7d53a8879d883cd36ad2a69a6.zip
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.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions