deno: Stop setting _LIBCPP_HARDENING_MODE on rusty-v8

And rely on the upstream project.
This commit is contained in:
Mynacol
2026-05-04 09:21:28 +02:00
parent de67f8f4e8
commit 0058564cb5
@@ -144,6 +144,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
buildFeatures = [ "simdutf" ];
# rusty-v8 has its own default hardening flags, which are "extensive" for release builds as long as `use_custom_libcxx` stays true.
# Avoids many warnings about redefined macros (on build failures) and uses the upstream flag.
hardeningDisable = [ "libcxxhardeningfast" ];
checkFlags = [
# These tests probably fail due to a more recent rustc version (upstream: 1.89.0, here: 1.93.0)
"--skip=ui"