Implement concept of unstable ABI into crossgen2#40820
Implement concept of unstable ABI into crossgen2#40820janvorli merged 2 commits intodotnet:masterfrom
Conversation
- Use for the Vector types based on current defined stability rules - Will prevent compilation of methods with not yet stable abis, or calls to methods with said unstable apis
|
We're already doing something similar for Do we need to introduce a new general purpose mechanism here? Could we just have a FieldLayoutAlgorithm that returns Cc @dotnet/crossgen-contrib |
janvorli
left a comment
There was a problem hiding this comment.
It looks ok, but I wonder about the same thing that @MichalStrehovsky said. It seems it would make the change more local.
|
Unfortunately, making the types have indeterminate size also prevents usage of the Vector intrinsics. This approach allows the intrinsics to continue to work and use the Vector128/256 types while simultaneously not permitting these apis to cross an ABI boundary. |
|
Makes sense. |
Fixes #13522