about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-06 18:08:10 +0200
committerGitHub <noreply@github.com>2025-04-06 18:08:10 +0200
commited81e347f189a51946fb58210b147228597aef00 (patch)
tree95b0a57d2bc59e911d5e5a0d32380ff867432316 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentd1da78b2011e95dc6289bacf99f4804b540c584e (diff)
parent579753294041fe1a6085acb2a1b924d73c0c8ec8 (diff)
downloadrust-ed81e347f189a51946fb58210b147228597aef00.tar.gz
rust-ed81e347f189a51946fb58210b147228597aef00.zip
Rollup merge of #139367 - GuillaumeGomez:proc-macro-values, r=Urgau
Add `*_value` methods to proc_macro lib

This is the (re-)implementation of https://github.com/rust-lang/libs-team/issues/459.

It allows to get the actual value (unescaped) of the different string literals.

It was originally done in https://github.com/rust-lang/rust/pull/136355 but it broke the artifacts build so we decided to move the crate to crates.io to go around this limitation.

Part of https://github.com/rust-lang/rust/issues/136652.

Considering this is a copy-paste of the originally approved PR, no need to go through the whole process again. \o/

r? `@Urgau`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions