about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-09 02:11:15 -0800
committerbors <bors@rust-lang.org>2013-11-09 02:11:15 -0800
commit4f68d1365abc71d0b63c7167c6a4625104912af2 (patch)
treec67ff0abc2fd206da5280145957f6573c4e3e9c3 /src/rustllvm/RustWrapper.cpp
parent162ba894bced501e8725c2558447df2403fbd553 (diff)
parentca22e947720bd16571f26d71f5de21b135a48fc2 (diff)
downloadrust-4f68d1365abc71d0b63c7167c6a4625104912af2.tar.gz
rust-4f68d1365abc71d0b63c7167c6a4625104912af2.zip
auto merge of #10368 : tautologico/rust/default_pkgid, r=catamorphism
This Fixes #10265 and paves the way for fixing #9543. It works by adding a 'package_id' attribute by default for library crates that don't specify it. This is necessary to use the 'extern mod foo = "bar"' form instead of 'extern mod foo(name="bar") (as per #9543), because the former adds a required package_id when trying to link with the bar crate. I added a simple test to ensure that the default package_id value is being generated, and also added an explicit package_id in the link attribute in all rust libs to avoid getting warnings about default package_id values when building rust. 
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions