You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure that this is in the scope of the official Rust project. If someone actually did the work of writing this, making the backend pluggable would make sense.
firm only supports x86 and SPARC, with a more limited set of optimizations. Would be fairly interesting, though, to have trans be pluggable. Not going to be easy to use a different backend, we lean on LLVM quite heavily.
I can't see this happening as part of the official compiler. I don't think the extra maintenance involved would be acceptable, and it would bring the usual problem of forcing the limitations of the lowest common denominator on everyone. It belongs in a third party repository, and specific changes making it easier to maintain could possibly be dealt with here.
…Jarcho
Fix UB in `as_ptr_cast_mut` documentation
changelog: none
Fixesrust-lang#10628
There's no `String::as_mut_ptr` surprisingly, so the example is actually calling `str::as_mut_ptr` on an empty `str`
Libfirm is a sort of leaner and smaller llvm, written in C and with almost no dependencies.
Might be good to implement another backend to ensure genericity.
The text was updated successfully, but these errors were encountered: