Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upPossible compiler bug with const_fn (Calling a function with bad signature) #39543
Comments
sfackler
added
A-const-fn
I-ICE
labels
Feb 5, 2017
This comment has been minimized.
This comment has been minimized.
|
I've been digging a bit further and the follow code simplifies things a bit.
|
This comment has been minimized.
This comment has been minimized.
|
I think I found the problem. After I played around with the target config json file I found the Keeping it true while adding
to Cargo.toml seem to have solved the problem. I though I had added that but apparently lost it somewhere on the way.... |
johalun
closed this
Feb 7, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
johalun commentedFeb 4, 2017
Error when building following:
Tested with:
Build with:
this code
causes error:
Target configuration (x86_64-kernel-freebsd.json)