We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
hash(cstring) fails in VM
import std/hashes proc main() = echo hash(cstring"abracadabra") static: main() main()
lib/pure/hashes.nim(326, 33) Error: cannot generate code for: mSlice murmurHash(toOpenArrayByte(x, 0, x.high))
works
The text was updated successfully, but these errors were encountered:
fix nim-lang#16061
154e530
fix #16061 (#16551)
e869767
toOpenArrayByte
hash(cstring)
\0
fix nim-lang#16061 (nim-lang#16551)
0b31a5a
ed2335e
un-disable a test now that nim-lang#16061 was fixed
d80e521
jsonutils: support cstring (including as Table key); improve docs (#1…
9b67e5c
…6062) * jsonutils: support cstring (including as Table key); improve docs * changelog * un-disable a test now that #16061 was fixed
ringabout
Successfully merging a pull request may close this issue.
hash(cstring) fails in VM
Example
Current Output
lib/pure/hashes.nim(326, 33) Error: cannot generate code for: mSlice
murmurHash(toOpenArrayByte(x, 0, x.high))
Expected Output
works
Additional Information
The text was updated successfully, but these errors were encountered: