Well, I'm gonna have to sleep on this @rustlang puzzle. I gotta figure out how to get Rust to reliably find a javascript file that should be included with its build. I think I'm gonna have to do a whole artifact generation/release process thing for this to work at all :s
-
-
That's... bizzare. That seems to fly in the face of what a const function is supposed to be? Isn't one of the rules that you get the same result whether you run it at compile or runtime?
-
I'm unsure about the specifics of the rules, but what you're saying sounds about right. Though I believe that constraint would still be upheld? If the same function is run from the same location it'd yield the same output during both compilation and runtime, would it not?
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
).