Fix bug in NativeMethods implementation - #1852
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adjusts conditional compilation directives and formatting in the NativeMethods.cs file. The primary semantic change widens the version condition in Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This pull request updates the platform detection logic in the
IsWasm()method to improve compatibility with newer .NET versions.Platform detection update:
IsWasm()method ofNativeMethods.csfrom#if NET6_0to#if NET5_0_OR_GREATER, ensuring that the WebAssembly architecture check works correctly on .NET 5.0 and later versions.Summary by CodeRabbit