diff options
| author | bors <bors@rust-lang.org> | 2024-03-30 19:56:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-03-30 19:56:58 +0000 |
| commit | 8df7e723ea729a7f917501cc2d91d640b7021373 (patch) | |
| tree | f54d01e426e3cd7f5c8a032015e1870dfe073108 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 70714e38f224ef1d50f3f772808fff65d7a29c0b (diff) | |
| parent | 3855b8bb609bbaaa3871797b40a78757f88d9b12 (diff) | |
| download | rust-8df7e723ea729a7f917501cc2d91d640b7021373.tar.gz rust-8df7e723ea729a7f917501cc2d91d640b7021373.zip | |
Auto merge of #99322 - GKFX:const-int-parse, r=Mark-Simulacrum
Make {integer}::from_str_radix constant
This commit makes FromStr on integers constant so that `const x: u32 = "23".parse();` works. More practical use-case is with environment variables at build time as discussed in https://github.com/rust-lang/rfcs/issues/1907.
Tracking issue #59133.
ACP: https://github.com/rust-lang/libs-team/issues/74
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
