diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-09-13 18:04:45 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-09-14 21:42:19 -0700 |
| commit | a7e49d6e83f61989b2456c213daeb7461d9ee606 (patch) | |
| tree | 12519ece874dfd19459dcc0dd0c7da2ff18aab3b /src/rustllvm/RustWrapper.cpp | |
| parent | a2231dce929a2c525df7cb10e5ab3258804a3a36 (diff) | |
| download | rust-a7e49d6e83f61989b2456c213daeb7461d9ee606.tar.gz rust-a7e49d6e83f61989b2456c213daeb7461d9ee606.zip | |
rustpkg: Always write a package_id attribute into the link metadata
For some reason, I thought it wasn't necessary to write the package_id attribute (which rustc's filesearch checks when searching for a package) if the package ID had a single component (like "foo") as opposed to multiple components (like "foo/bar/quux"). This meant that `extern mod quux = "an-awesome-library";` didn't work, even if an-awesome-library existed in the RUST_PATH. Fixed it.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
