diff options
| author | Veikka Tuominen <git@vexu.eu> | 2020-11-18 13:14:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-18 13:14:48 +0200 |
| commit | 6d5b76a75d204ac2ce9fb2e03744d9733169dbe3 (patch) | |
| tree | 7fbdbc258851b0ee8e8635373d6b81b12168af68 /lib/std/debug.zig | |
| parent | 66d6930b5c023deb65ea23eb0c4c5029b50b40a3 (diff) | |
| parent | a1ec5448c77bee8d91c7e33d16416406b22fa159 (diff) | |
| download | zig-6d5b76a75d204ac2ce9fb2e03744d9733169dbe3.tar.gz zig-6d5b76a75d204ac2ce9fb2e03744d9733169dbe3.zip | |
Merge pull request #7005 from jshholland/deprecate-span
Remove ArrayList.span
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index a135dde0ff..b3f3bcd712 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -1507,7 +1507,7 @@ pub const ModuleDebugInfo = switch (builtin.os.tag) { const mod_index = for (self.sect_contribs) |sect_contrib| { if (sect_contrib.Section > self.coff.sections.items.len) continue; // Remember that SectionContribEntry.Section is 1-based. - coff_section = &self.coff.sections.span()[sect_contrib.Section - 1]; + coff_section = &self.coff.sections.items[sect_contrib.Section - 1]; const vaddr_start = coff_section.header.virtual_address + sect_contrib.Offset; const vaddr_end = vaddr_start + sect_contrib.Size; |
