diff options
| author | Ibraheem Ahmed <ibraheem@ibraheem.ca> | 2025-07-16 03:53:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-16 03:53:20 -0400 |
| commit | 7daf0e68e091e47aa55f3e9321902c8e97f935af (patch) | |
| tree | f8eef27acfe3a9a33f2bb25e97d4eb20c409e5a7 | |
| parent | d060859376994b32dad84e5bb7f507fbb1dcb89a (diff) | |
| download | rust-7daf0e68e091e47aa55f3e9321902c8e97f935af.tar.gz rust-7daf0e68e091e47aa55f3e9321902c8e97f935af.zip | |
update comment to reference legacy `.ctors` section
Co-authored-by: Ralf Jung <post@ralfj.de>
| -rw-r--r-- | src/tools/miri/src/shims/ctor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/miri/src/shims/ctor.rs b/src/tools/miri/src/shims/ctor.rs index 75f564989bc..367c2b1608b 100644 --- a/src/tools/miri/src/shims/ctor.rs +++ b/src/tools/miri/src/shims/ctor.rs @@ -52,7 +52,7 @@ impl<'tcx> GlobalCtorState<'tcx> { // Read the standard `.init_array` section on platforms that use ELF, or WASM, // which supports the same linker directive. - // FIXME: Add support for `.init_array.N`. + // FIXME: Add support for `.init_array.N` and `.ctors`? BinaryFormat::Elf | BinaryFormat::Wasm => this.lookup_link_section(|section| section == ".init_array")?, |
