setup_configs should respect deprecation of _LIBCPP_ENABLE_ASSERTIONS
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Domain
- build-system
Research direction
Start by reading bazel/setup_configs.sh and trace how it generates the build:fuzztest-common configuration. Update the generated compiler definition to use _LIBCPP_HARDENING_MODE_EXTENSIVE instead of the deprecated _LIBCPP_ENABLE_ASSERTIONS, then verify that the generated configuration no longer causes a compilation error with clang.
Written by the indexing model from the issue text.
Description
_LIBCPP_ENABLE_ASSERTIONS is deprecated in favor of hardening modes.
In my local setup I had to manually change
build:fuzztest-common --copt=-D_LIBCPP_ENABLE_ASSERTIONS=1
to
build:fuzztest-common --copt=-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE`
For my clang to not emit a compilation error.
I hope there is a way to automatically generate this with https://github.com/google/fuzztest/blob/main/bazel/setup_configs.sh so that I don't have to manually modify the generated file.
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 137
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/fuzztest
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/cuda-samples#453 ·