diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-18 15:20:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-18 15:20:51 -0700 |
| commit | 0e332e9e3c4a33458cac1801f59c2d0a3ca28484 (patch) | |
| tree | 47466b9f29e0272a3aa750d65a9820bbbaae2b76 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | bf59152c01d9ffc4ceeb982e26b3df2354ebede6 (diff) | |
| parent | e8e0a0e4e220533db31bc6a572ed9f1b99b31289 (diff) | |
| download | rust-0e332e9e3c4a33458cac1801f59c2d0a3ca28484.tar.gz rust-0e332e9e3c4a33458cac1801f59c2d0a3ca28484.zip | |
Rollup merge of #73034 - doctorn:nomangle-inline-linkage, r=matthewjasper
Export `#[inline]` fns with extern indicators
In ancient history (#36280) we stopped `#[inline]` fns being codegened if they weren't used. However,
- #72944
- #72463
observe that when writing something like
```rust
#![crate_type = "cdylib"]
#[no_mangle]
#[inline]
pub extern "C" fn foo() {
// ...
}
```
we really _do_ want `foo` to be codegened. This change makes this the case.
Resolves #72944, resolves #72463 (and maybe some more)
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
