about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-05-14 05:56:18 -0700
committerbors <bors@rust-lang.org>2014-05-14 05:56:18 -0700
commitd78718ad6317b21c58cfd6723501a9487378b0c7 (patch)
treebde3b5679847ae70d39e6f02df5525a271533700 /src/test/codegen/stack-alloc-string-slice.rs
parentd9906813c8102c9c9e6ff2316a96e7a0e3f70af9 (diff)
parent589f4472992ff5e78087a990da58662a15d86fed (diff)
downloadrust-d78718ad6317b21c58cfd6723501a9487378b0c7.tar.gz
rust-d78718ad6317b21c58cfd6723501a9487378b0c7.zip
auto merge of #14191 : luqmana/rust/eu, r=alexcrichton
We were correctly determining the attributes needed for the parameters for extern fns, but when that extern fn was from another crate we never bothered to pass that information along to LLVM. (i.e never called `foreign::add_argument_attributes`).

I've just changed both local and non-local (crate) extern fn's to be dealt with together (through `foreign::register_foreign_item_fn`) so we don't run into something like again.

Fixes #14177.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions