openbsd-ports/devel/cargo
semarie 49325f855b devel/cargo: add MODCARGO_WANTLIB variable
Introduce MODCARGO_WANTLIB variable to be used by port using std library from
Rust.

Rust std uses libc and libpthread for standard operations, and uses
libc++abi/libgcc for unwinding.

Unwinding is done differently depending the MACHINE_ARCH:
 - sparc64 is using libgcc (static lib)
 - others are using c++abi (shared lib)

MODCARGO_WANTLIB takes care of that details.

ok sthen@
2022-11-01 12:36:38 +00:00
..
cargo.port.mk devel/cargo: add MODCARGO_WANTLIB variable 2022-11-01 12:36:38 +00:00