about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-07-30 14:20:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-08-10 18:20:00 -0700
commit18607149fbb0836059a96981c78e10ca52d23cd5 (patch)
tree201b0a143fb6c4cac89383f49fe9fe50bcde1fa7 /src/rustllvm/RustWrapper.cpp
parent5aca49c693c9be3064d9e6db9473b1fa76834b79 (diff)
downloadrust-18607149fbb0836059a96981c78e10ca52d23cd5.tar.gz
rust-18607149fbb0836059a96981c78e10ca52d23cd5.zip
syntax: Add a new unstable #[linked_from] attribute
To correctly reexport statically included libraries from a DLL on Windows, the
compiler will soon need to have knowledge about what symbols are statically
included and which are not. To solve this problem a new unstable
`#[linked_from]` attribute is being added and recognized on `extern` blocks to
indicate which native library the symbols are coming from.

The compiler then keeps track of what the set of FFI symbols are that are
included statically. This information will be used in a future commit to
configure how we invoke the linker on Windows.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions