Skip to content

Remove handle-werrors target from modules/Makefile - #15257

Merged
YaacovHazan merged 2 commits into
redis:unstablefrom
dariaguy:dariaguy-remove-handle-werrors-target
May 25, 2026
Merged

YaacovHazan merged 2 commits into
redis:unstablefrom
dariaguy:dariaguy-remove-handle-werrors-target

Conversation

@dariaguy

@dariaguy dariaguy commented May 25, 2026 •

Copy link
Copy Markdown
Contributor

Note

Low Risk
Documentation and optional build-time sed workaround removal only; no runtime or core server logic changes.

Overview
Removes the handle-werrors Makefile target and the DISABLE_WERRORS build option that stripped -Werror from module build files under modules/.

modules/Makefile no longer runs handle-werrors during prepare_source or setup_environment; README.md build instructions for Linux and macOS no longer tell users to set export DISABLE_WERRORS=yes alongside TLS/modules/Rust flags.

Reviewed by Cursor Bugbot for commit 2a455e3. Bugbot is set up for automated code reviews on this repo. Configure here.

@CLAassistant

CLAassistant commented May 25, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@dariaguy
dariaguy marked this pull request as draft May 25, 2026 14:10
@dariaguy
dariaguy marked this pull request as ready for review May 25, 2026 14:51
@YaacovHazan
YaacovHazan merged commit 8757b12 into redis:unstable May 25, 2026
17 checks passed
YaacovHazan pushed a commit that referenced this pull request Jul 14, 2026
#15454)

Followup #15253

Updates build-from-source documentation for Redis 8.10+: release flows
use redis-full.tar.gz, start the server with redis.conf (module config
baked into release tarballs), and document explicit Rust 1.94 and LLVM
21 / lld where RediSearch LTO needs them—instead of relying on
INSTALL_RUST_TOOLCHAIN=yes and make modules-update in those paths.
Ubuntu 20.04 instructions switch to GCC 11 (PPA) for C++20 libstdc++;
Alma/Rocky sections add lld/llvm, python3 alternatives on 8.10, and drop
make modules-update on Alma 10.

scripts/build.sh now runs modules install-rust when
INSTALL_RUST_TOOLCHAIN=yes, so make build matches the modules Makefile
behavior. The obsolete handle-werrors target has been removed from the
modules Makefile (matching #15257): it is no longer required
and was causing build errors, so DISABLE_WERRORS no longer strips
-Werror via this path.

Co-authored-by: Tom Gabsow <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants