]> git.lizzy.rs Git - rust.git/commit
Auto merge of #1871 - hyd-dev:no-mangle-method, r=RalfJung
authorbors <bors@rust-lang.org>
Sun, 15 Aug 2021 11:41:00 +0000 (11:41 +0000)
committerbors <bors@rust-lang.org>
Sun, 15 Aug 2021 11:41:00 +0000 (11:41 +0000)
commite8ac524a30c0948c8492723f498829218e1dc59d
tree47d43f49bd222e1e67d3883b9d6ac00710f0069f
parent13fae3d0740e2326e30edf38294f308198e6d79f
parent838ed1d75412f8c4ccb3750da6e67687af427520
Auto merge of #1871 - hyd-dev:no-mangle-method, r=RalfJung

Update tests for `#[no_mangle]` on associated functions

https://github.com/rust-lang/rust/pull/86492 has landed:
- The code in https://github.com/rust-lang/miri/issues/1837 starts to work (even without `AssocFn::foo();` at line 12) in Miri.
- `pub` is not necessary for `#[no_mangle]` associated functions in `test-cargo-miri/exported-symbol-dep/src/lib.rs` anymore.

Closes https://github.com/rust-lang/miri/issues/1837.