diff --git a/modules/nanobind_bazel/2.4.0/presubmit.yml b/modules/nanobind_bazel/2.4.0/presubmit.yml index fde48b567ff..85cadc77aeb 100644 --- a/modules/nanobind_bazel/2.4.0/presubmit.yml +++ b/modules/nanobind_bazel/2.4.0/presubmit.yml @@ -16,3 +16,6 @@ tasks: bazel: ${{ bazel }} build_targets: - '@nanobind_bazel//:nanobind' + build_flags: + - --cxxopt=-std=c++17 + - --cxxopt=/std:c++17