Skip to content

Don't load SentryNative on unsupported platforms #4343

@jamescrosswell

Description

@jamescrosswell

@devtekve Thanks a lot for the test case, very helpful! 👍 I should've guessed from "Mac" being mentioned that this was ARM64. 🙂 sentry-dotnet currently has native support for linux-x64, linux-arm64, and linux-musl-x64. The target you use i.e. linux-musl-arm64 is missing, unfortunately. While sentry-dotnet should be fixed not to try to load the native library on an unsupported platform, you probably don't even need native for your deployment, maybe you could set -p:SentryNative=false to get past the loading issue? Feel free to open a request to add native support on linux-musl-arm64 if it's relevant for your use case.

Originally posted by @jpnurmi in #4296

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETPull requests that update .net codeBugSomething isn't working

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions