forked from mirrors/nixpkgs
7d6b3abe12
catch is ancient and has no support for aarch64-darwin. The following snippet is an example of what is supported on darwin platforms in catch (i.e., prior to v2). ``` #ifdef CATCH_PLATFORM_MAC #if defined(__ppc64__) || defined(__ppc__) #define CATCH_TRAP() \ __asm__("li r0, 20\nsc\nnop\nli r0, 37\nli r4, 2\nsc\nnop\n" \ : : : "memory","r0","r3","r4" ) /* NOLINT */ #else #define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ ) #endif ``` |
||
---|---|---|
.. | ||
default.nix |