Skip to content

Conversation

@nikomatsakis
Copy link
Contributor

Change the type of crust fns like this one:

extern fn foo() { ... }

from *u8 to extern "C" fn().

r? @pcwalton (or whomever)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

!self.llbuilder.is_null()?

bors added a commit that referenced this pull request Aug 22, 2013
…=pcwalton

Change the type of crust fns like this one:

    extern fn foo() { ... }

from `*u8` to `extern "C" fn()`.

r? @pcwalton (or whomever)
@bors bors closed this Aug 22, 2013
MicahChalmer added a commit to MicahChalmer/rust-fuse-mc-original that referenced this pull request Aug 27, 2013
@nikomatsakis nikomatsakis deleted the issue-3678-extern-fn-types branch March 30, 2016 16:15
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 30, 2022
Don't lint `while_let_loop` when significant drop order would change

fixes rust-lang#7226
fixes rust-lang#7913
fixes rust-lang#5717

For rust-lang#5717 it may not stay fully fixed. This is only completely fixed right now due to all the allowed drop impls have `#[may_dangle]` on their drop impls. This may get changed in the future based on how significant drops are determined, but the example listed with `RefCell` shouldn't break.

changelog: Don't lint `while_let_loop` when the order of significant drops would change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants