dotnet / jitutils

MIT License
144 stars 59 forks source link

Adding a fallback for the platform if it couldn't be detected from dotnet --info #390

Closed tannergooding closed 7 months ago

tannergooding commented 7 months ago

Running jit-diff from the runtime root can fail due to the existence of the globa.json and custom SDK that is setup since the Platform line may not be printed in that scenario.

This adds some basic fallback logic to ensure we can still work in that scenario.

tannergooding commented 7 months ago

CC. @dotnet/jit-contrib