about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-11-03 23:30:06 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-11-03 23:56:45 -0800
commitc3089a1d314dded358ced2b5fbb4d95397e02467 (patch)
treec56507bff651f3c988d0cfe8ea89e67f8ddde4ed /src/rt/sync/rust_thread.cpp
parentb5c1b48048cc911c3caa07ada776239123a97b50 (diff)
downloadrust-c3089a1d314dded358ced2b5fbb4d95397e02467.tar.gz
rust-c3089a1d314dded358ced2b5fbb4d95397e02467.zip
Fix the temporary name of the object file created
This file did not respect the #[link(name = "...")] attribute when it was
clearly intended to do so. The problem is that the crate attributes just weren't
passed in. This causes lots of problems in rust today because the object file
for all our libraries is inferred to be 'lib.o' because all of the files are
called 'lib.rs'.

I tried to figure out a good way to test for this, but I wasn't able to come up
with a good way that fit into our current testing framework. Nonetheless, I have
tested this locally and object files get named as they should. This should fix
compiling with `make -jN` again (because the object files are all different
again).
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions