feat: use machengine.org for downloading nominated zig versions
          #4356
        
          
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Description
This update makes
misesmarter about finding specific Zig versions! I was personally frustrated trying to use a nominated Zig version and finding thatmisecouldn't grab it with the previous behavior. This change fixes that! Specifically, it improves howmisehandles those in-between "dev" versions of Zig (like0.14.0-dev.2577+271452d22).The main Zig website (
ziglang.org/download) doesn't always keep older or development versions around.machengine.orgdoes! So, this change tellsmiseto automatically grab those specific "dev" versions frommachengine.orginstead.Here's the key thing: This only applies to Zig versions that look like
0.14.0-dev.2577+271452d22(a number, then-dev, then more numbers and letters). If you're using a regular, stable Zig version (like0.13.0),misewill still download it from the official Zig website, just like before. This means it expands the range of Zig versions you can install withmisewithout changing how it works for stable releases.This should make it easier to use
misewith projects that need a very specific Zig development build, and hopefully save others the frustration I experienced!