diff options
| author | bors <bors@rust-lang.org> | 2014-05-07 14:56:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-07 14:56:39 -0700 |
| commit | c217a844793034c181bd4457b9797b97a2c66f58 (patch) | |
| tree | 72ca8dc5d2c2d7a1b21f5d9e14f9e2e3c49b7b30 /src/rustllvm/RustWrapper.cpp | |
| parent | 828ffab627350c6250786e0e4960bc3d3aa0b761 (diff) | |
| parent | 08237cad8d2ce9287aedf99e57384407cc9dc42d (diff) | |
| download | rust-c217a844793034c181bd4457b9797b97a2c66f58.tar.gz rust-c217a844793034c181bd4457b9797b97a2c66f58.zip | |
auto merge of #14005 : alexcrichton/rust/extern-unsafe, r=pcwalton
Previously, the parser would not allow you to simultaneously implement a
function with a different abi as well as being unsafe at the same time. This
extends the parser to allow functions of the form:
unsafe extern fn foo() {
// ...
}
The closure type grammar was also changed to reflect this reversal, types
previously written as "extern unsafe fn()" must now be written as
"unsafe extern fn()". The parser currently has a hack which allows the old
style, but this will go away once a snapshot has landed.
Closes #10025
[breaking-change]
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
