Conversation
… the `SymbolName` so that we don't ICE on generic foreign `fn`s like `extern "rust-intrinsic"`s.
|
@spernsteiner, I'm not sure if this is the right approach here yet, but I'd like to see if it fixes the issue at least. I'm looking a bit more into how |
|
Seems like a reasonable approach. Though I will say I don't think it's worth trying to extend the |
Yeah, that was the plan. But as you said, there might be better ways to do this. Maybe just check if The possibly generic Rusty ones, from what I can guess:
|
One thing I'm unsure about is whether this would work with
|
It doesn't? I didn't realize that. Do you know where it documents that? I've had trouble finding much documentation about the different ABIs in general. |
No idea, but if you try something like |
Use
SubstsRefwhen creating anInstanceto get theSymbolNameso that we don't ICE on generic foreignfns likeextern "rust-intrinsic"s.