about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2013-09-13 18:04:45 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-09-14 21:42:19 -0700
commita7e49d6e83f61989b2456c213daeb7461d9ee606 (patch)
tree12519ece874dfd19459dcc0dd0c7da2ff18aab3b /src/rustllvm/RustWrapper.cpp
parenta2231dce929a2c525df7cb10e5ab3258804a3a36 (diff)
downloadrust-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