diff options
| author | Graham Fawcett <fawcett@uwindsor.ca> | 2011-12-16 11:04:11 -0500 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-12-16 15:29:59 -0800 |
| commit | f14bc54b06ef300fd3a7bf2b2493e78c6136312b (patch) | |
| tree | bee3711e8fb10af4baa07ac9e84ee09ab9f84b13 /src/rt/rust_task.cpp | |
| parent | 7ddd353ef693bd19b5058f89d01529407d6aa926 (diff) | |
| download | rust-f14bc54b06ef300fd3a7bf2b2493e78c6136312b.tar.gz rust-f14bc54b06ef300fd3a7bf2b2493e78c6136312b.zip | |
allow #[link_args] with #[nolink]. For now, fail if two modules link same lib, and second has link_args.
I think it should undefined to have multiple modules that link in the same library, but provide different link arguments. Unfortunately we don't track link_args by module -- they are just appended as discovered into the crate store -- but for now, it should be an error to provide link_args on a module that's already been included (with or without link_args).
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
