Skip to content

f32: inline msvc-dispatched methods #30718

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Conversation

durka
Copy link
Contributor

@durka durka commented Jan 5, 2016

Should fix #30657, but I don't have MSVC and I don't really know how to test whether a function got inlined or not.

This adds #![feature(stmt_expr_attributes)] to std in order to eliminate the inner functions.

I also added #[inline] to the functions in mod shims but I am not sure if they are also necessary (legal?) on the extern declarations.

r? @eddyb

@eddyb
Copy link
Member

eddyb commented Jan 5, 2016

r? @alexcrichton

@rust-highfive rust-highfive assigned alexcrichton and unassigned eddyb Jan 5, 2016
@durka
Copy link
Contributor Author

durka commented Jan 5, 2016

These don't compile at all. Fixing.

@durka
Copy link
Contributor Author

durka commented Jan 5, 2016

Should be fixed.

@durka
Copy link
Contributor Author

durka commented Jan 5, 2016

Closing in favor of #30719 due to communication failure.

@durka durka closed this Jan 5, 2016
@pyfisch
Copy link
Contributor

pyfisch commented Jan 5, 2016

Sorry :(

@durka
Copy link
Contributor Author

durka commented Jan 5, 2016

No problem :)

On Tue, Jan 5, 2016 at 3:56 PM, Pyfisch [email protected] wrote:

Sorry :(


Reply to this email directly or view it on GitHub
#30718 (comment).

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.

f32 methods which work differently on MSVC are not inlined cross-crate.
4 participants