fixes to allow native to work - should revert when recursion is fixed

This commit is contained in:
2026-02-17 15:44:17 -06:00
parent 78051e24f3
commit 8a24a69120
3 changed files with 61 additions and 7 deletions

View File

@@ -523,9 +523,9 @@ function run_benchmarks(package_name, specific_bench) {
// Find matching native bench and run it
nat_b = find(native_benches, function(nb) { return nb.name == b.name })
if (nat_b) {
if (nat_b != null) {
_run_nat = function() {
nat_result = run_single_bench(nat_b.fn, b.name)
nat_result = run_single_bench(native_benches[nat_b].fn, b.name)
nat_result.package = pkg_result.package
nat_result.mode = "native"
push(file_result.benchmarks, nat_result)