diff options
| author | Antoni Boucher <bouanto@zoho.com> | 2025-06-05 17:08:01 -0400 |
|---|---|---|
| committer | Antoni Boucher <bouanto@zoho.com> | 2025-06-05 17:08:01 -0400 |
| commit | 2e89179368b3c8fc46699b008a37e0ffafeac44b (patch) | |
| tree | e64daa578b33147524f9e9ab514f84adeb454b6f /src | |
| parent | 38f134c7db8d88c28b1b300f37d05e9d6674b6b6 (diff) | |
| download | rust-2e89179368b3c8fc46699b008a37e0ffafeac44b.tar.gz rust-2e89179368b3c8fc46699b008a37e0ffafeac44b.zip | |
Make comment more specific
Diffstat (limited to 'src')
| -rw-r--r-- | src/context.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context.rs b/src/context.rs index 1d46d73cd26..c9ce97c81eb 100644 --- a/src/context.rs +++ b/src/context.rs @@ -127,7 +127,8 @@ pub struct CodegenCx<'gcc, 'tcx> { pub pointee_infos: RefCell<FxHashMap<(Ty<'tcx>, Size), Option<PointeeInfo>>>, /// NOTE: a hack is used because the rustc API is not suitable to libgccjit and as such, - /// `const_undef()` returns struct as pointer so that they can later be assigned a value. + /// `const_undef()` returns struct as pointer so that they can later be assigned a value (in + /// e.g. Builder::insert_value). /// As such, this set remembers which of these pointers were returned by this function so that /// they can be dereferenced later. /// FIXME(antoyo): fix the rustc API to avoid having this hack. |
