diff options
| author | Ralf Jung <post@ralfj.de> | 2025-04-22 11:40:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-22 11:40:48 +0200 |
| commit | 47a127884135771ae557eca71f964a5db655c2ea (patch) | |
| tree | c5ce9c0b5f5003e668be2f72819e27eb3b1c4fa5 /compiler/rustc_const_eval/src | |
| parent | 2d21c140154c5387712938dbc2ca427e2df4dfc2 (diff) | |
| download | rust-47a127884135771ae557eca71f964a5db655c2ea.tar.gz rust-47a127884135771ae557eca71f964a5db655c2ea.zip | |
add comment for "Other" case
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/memory.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/memory.rs b/compiler/rustc_const_eval/src/interpret/memory.rs index 3bde7457ad6..9d8130661b0 100644 --- a/compiler/rustc_const_eval/src/interpret/memory.rs +++ b/compiler/rustc_const_eval/src/interpret/memory.rs @@ -882,6 +882,7 @@ impl<'tcx, M: Machine<'tcx>> InterpCx<'tcx, M> { Ord::max(global_align, fn_align).unwrap_or(Align::ONE) } + // Machine-specific extra functions currently do not support alignment restrictions. FnVal::Other(_) => Align::ONE, }; |
