Skip to content

Upgrade for latest Rust#4

Open
Manishearth wants to merge 3 commits intorjanicek:masterfrom
Manishearth:rustup
Open

Upgrade for latest Rust#4
Manishearth wants to merge 3 commits intorjanicek:masterfrom
Manishearth:rustup

Conversation

@Manishearth
Copy link
Copy Markdown

This crate hits the ICE described in rust-lang/rust#43567 , which may be turned into a proper error.

In general returning a type with a lifetime from FFI in a function that has no arguments with lifetimes used to be allowed, but it is a bug, since that lifetime will be effectively 'static. Normal functions do not allow this.

Fixing this so that this works in the future.

Please publish after merging.

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.

1 participant