Skip to content
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

unexpected compile error: unable to inline function #2154

Closed
andrewrk opened this issue Apr 1, 2019 · 1 comment
Closed

unexpected compile error: unable to inline function #2154

andrewrk opened this issue Apr 1, 2019 · 1 comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Milestone

Comments

@andrewrk
Copy link
Member

andrewrk commented Apr 1, 2019

Try putting inline on all the non-pub functions in std/special/compiler_rt/mulXf3.zig and you will get error: unable to inline function.

This should work but instead zig gives "unable to inline function".

@andrewrk andrewrk added the bug Observed behavior contradicts documented or intended behavior label Apr 1, 2019
@andrewrk andrewrk added this to the 0.5.0 milestone Apr 1, 2019
justinbalexander added a commit to justinbalexander/zig that referenced this issue Apr 1, 2019
@emekoi
Copy link
Contributor

emekoi commented Apr 1, 2019

related: #38.

@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Aug 27, 2019
@andrewrk andrewrk added the stage1 The process of building from source via WebAssembly and the C backend. label Jan 7, 2020
@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Jan 7, 2020
andrewrk added a commit that referenced this issue Feb 27, 2020
andrewrk added a commit that referenced this issue Feb 28, 2020
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Aug 13, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.7.0 Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior stage1 The process of building from source via WebAssembly and the C backend.
Projects
None yet
Development

No branches or pull requests

2 participants