Dan Kolsoi
Dan Kolsoi
That might work, yea
@hardcoresummer Do you plan to put up a PR for this change?
Sorry for the delayed response. @gerrywastaken 's workaround does work for me w/ the latest version on crates.io. @TheLostLambda Building from main does work for me now. Thanks! This should...
Isn't the solution to just do `let mut fp = &raw mut f;` once raw references (or whatever they're called) are stabilized/nightly-available? This is a known issue with downcasting refs...
Personally, I'd bet MIRI just doesn't understand raw references yet. This is the exact problem they were intended to fix, as I understand it.
@kazk Is there any assistance needed to help get this PR across the finish line?
Any idea what'd be the correct fix? I don't have access to a macOS machine, so I have no way to test
Ok, you're welcome to make that change and test it out if you'd like
I don't follow... We supply cond, iftrue, and iffalse in that order: https://github.com/TheDan64/inkwell/blob/13c6c3bb6deb7bdb72c67586abd5c7f7a5a8aa0b/src/builder.rs#L2213-L2215
You probably want the get_function method: https://github.com/TheDan64/inkwell/blob/master/examples/jit.rs