diff options
| author | Ralf Jung <post@ralfj.de> | 2025-08-27 06:49:36 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-27 06:49:36 +0000 |
| commit | f44d957dee1c07759272d6e934007ac0967fb957 (patch) | |
| tree | d3bde15db472993fc1d801f93f3c86ab8f669971 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 5ea8c2dad3c67db84b5ee9ae9d3dcdf904be446d (diff) | |
| parent | aa583798abbead86c01450106088efba8dc0d54e (diff) | |
| download | rust-f44d957dee1c07759272d6e934007ac0967fb957.tar.gz rust-f44d957dee1c07759272d6e934007ac0967fb957.zip | |
Merge pull request #4544 from rust-lang/rustup-2025-08-27
Automatic Rustup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
| -rw-r--r-- | compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp index e699e4b9c13..cce40da354d 100644 --- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp @@ -488,6 +488,9 @@ extern "C" LLVMAttributeRef LLVMRustCreateRangeAttribute(LLVMContextRef C, unsigned NumBits, const uint64_t LowerWords[], const uint64_t UpperWords[]) { + // FIXME(Zalathar): There appears to be no stable guarantee that C++ + // `AttrKind` values correspond directly to the `unsigned KindID` values + // accepted by LLVM-C API functions, though in practice they currently do. return LLVMCreateConstantRangeAttribute(C, Attribute::Range, NumBits, LowerWords, UpperWords); } |
