Skip to content

v0.0.1

Compare
Choose a tag to compare
@PathogenDavid PathogenDavid released this 30 Nov 05:54
· 9 commits to main since this release
0c70032

ClangSharp.Pathogen v0.0.1 Sponsor

ClangSharp.Pathogen now publishes packages for Linux ARM64 and macOS x64. To accommodate for this, the overall organization of the NuGet packages has changed. Details can be found in the commit message of 91e442b, but in short:

  • The Clang resources are now published in a separate package: ClangSharp.Pathogen.ClangResources.
  • ClangSharp.Pathogen.Runtime was replaced by multiple ClangSharp.Pathogen.Native.<rid> packages. Where <rid> is the .NET RID for the native runtime. (We currently publish win-x64, linux-x64, linux-arm64, and osx-x64 packages.)
  • ClangSharp.Pathogen no longer references a native runtime. You need to add the appropriate ClangSharp.Pathogen.Native.<rid> package for your platform.
    • The old method of including every native runtime is less palatable now that we have four different runtimes and they weigh in at around 100 MB each. NuGet unfortunately doesn't have a great way to declare platform-specific dependencies.
    • You can see how we currently handle this in Biohazrd here: MochiLibraries/Biohazrd@e367796
  • Since we can no longer rely on NuGet to do it for us, version compatibility enforcement is now enforced by an MSBuild target.