diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..7f69f3aff --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/bazel-* +MODULE.bazel.lock diff --git a/MODULE.bazel b/MODULE.bazel index ea81e22d2..69545ebdc 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -15,8 +15,6 @@ module( name = "fuzztest", version = "head", - # TODO(lszekeres): Remove and use default name. - repo_name = "com_google_fuzztest", ) bazel_dep( diff --git a/bazel/setup_configs.sh b/bazel/setup_configs.sh index 8a6524b15..74b25a7b9 100755 --- a/bazel/setup_configs.sh +++ b/bazel/setup_configs.sh @@ -9,7 +9,7 @@ cat < fuzztest.bazelrc +# bazel run @fuzztest//bazel:setup_configs > fuzztest.bazelrc # # And don't forget to add the following to your project's .bazelrc: # @@ -29,8 +29,8 @@ build:fuzztest-common --copt=-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION build:fuzztest-common --copt=-UNDEBUG # Enable libc++ assertions. -# See https://libcxx.llvm.org/UsingLibcxx.html#enabling-the-safe-libc-mode -build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1 +# See https://libcxx.llvm.org/Hardening.html +build:fuzztest-common --copt=-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE EOF @@ -95,7 +95,7 @@ cat <