about summary refs log tree commit diff
path: root/library/std/src/sys_common/wtf8.rs
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2025-01-06 21:53:48 +0100
committerPietro Albini <pietro@pietroalbini.org>2025-01-06 21:53:48 +0100
commit80cdaeac3de16f48db1e187b2426c2517d5aa5ea (patch)
tree323e84c22d1282578cf6728dcf62e521259e25ca /library/std/src/sys_common/wtf8.rs
parent243d2ca4db6f96d2d18aaf3a2381251d38eb6b0b (diff)
downloadrust-80cdaeac3de16f48db1e187b2426c2517d5aa5ea.tar.gz
rust-80cdaeac3de16f48db1e187b2426c2517d5aa5ea.zip
avoid replacing the definition of CURRENT_RUSTC_VERSION
Before this commit, replace-version-placeholder hardcoded the path
defining CURRENT_RUSTC_VERSION (to avoid replacing it). After a refactor
moved the file defining it without changing the hardcoded path, the tool
started replacing the constant itself with the version number.

To avoid this from happening in the future, this changes the definition
of the constant to avoid the tool from ever matching it.
Diffstat (limited to 'library/std/src/sys_common/wtf8.rs')
0 files changed, 0 insertions, 0 deletions