summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2021-11-21 00:32:42 -0800
committerVikram Narayanan <vikram186@gmail.com>2021-11-21 19:32:25 -0800
commit7d6b3abe12c1c8b2e6f760ab82de80d087df57d8 (patch)
treef230d7ee34efcff2636cecd4154a6e9ceb088322 /pkgs/development/python-modules/rangehttpserver
parent77e1b5f81d70445ef4f01a5e17e701e366fd7dc6 (diff)
arc_unpacker: Move to catch2 to support aarch64-darwin
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 ```
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions