Skip to content

Bump rand from 0.8.5 to 0.8.6 - #1

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand-0.8.6
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/rand-0.8.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026 •

Copy link
Copy Markdown

Bumps rand from 0.8.5 to 0.8.6.

Changelog

Sourced from rand's changelog.

[0.8.6] - 2026-04-14

This release back-ports a fix from v0.10. See also #1763.

Changes

  • Deprecate feature log (#1772)

#1763: rust-random/rand#1763 #1772: rust-random/rand#1772

  • Drop the experimental simd_support feature.
Commits
  • 5309f25 0.8.6 (#1772): update for recent nightly rustc and backport #1764
  • 1126d03 When testing rustc 1.36, use compatible dependencies.
  • 143b602 Add Cargo.lock.msrv.
  • 9be86f2 Fix cross build test.
  • 5e0d50d Drop simd_support.
  • 8ff02f0 Upgrade cache action.
  • 4ad0cc3 Don't test for unsupported target architecture.
  • 258e6d0 Address warning.
  • 9f0e676 Mark some internal traits as potentially unused.
  • 6f123c1 Workaround never constructed and never used warning.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 23, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 20, 2026

Copy link
Copy Markdown
Author

Looks like rand is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this May 20, 2026
@dependabot
dependabot Bot deleted the dependabot/cargo/rand-0.8.6 branch May 20, 2026 10:48
CierCier added a commit that referenced this pull request Jul 23, 2026
…outs, multi-field, arity validation, imported payloads)

- Fix A: correct PrimitiveType size table (I64/F32, F64/I128 were swapped)
- Fix B: register imported enum payload layouts in declare_imported_modules
- Fix C: support multi-field payload construction with byte-offset GEP loop
- Fix D: validate enum-variant construction arity + types in typeck
- Fix E: preserve imported payload types from ModuleEnumVariant
- Tests: enum_size_test, enum_multi_field_test, enum_arity_error_test
- Harness: support expected-compile-failure tests in run_tests.sh

Closes Greptile findings #1-5 from PR #16 commit ff84c7e.
CierCier added a commit that referenced this pull request Aug 1, 2026
…outs, multi-field, arity validation, imported payloads)

- Fix A: correct PrimitiveType size table (I64/F32, F64/I128 were swapped)
- Fix B: register imported enum payload layouts in declare_imported_modules
- Fix C: support multi-field payload construction with byte-offset GEP loop
- Fix D: validate enum-variant construction arity + types in typeck
- Fix E: preserve imported payload types from ModuleEnumVariant
- Tests: enum_size_test, enum_multi_field_test, enum_arity_error_test
- Harness: support expected-compile-failure tests in run_tests.sh

Closes Greptile findings #1-5 from PR #16 commit a6b488b.
CierCier added a commit that referenced this pull request Aug 16, 2026
The compiler already knows every function's source span, so the backtrace
symbol table now carries {addr, name, file, line} instead of {addr, name}:
- emit_function_body records (llvm name -> basename, declaration line) from
  the lexer source registry + span (works without -g).
- emit_backtrace_table emits the 4-field records with per-function file/line
  string globals.
- std/rt/backtrace.ag prints '#N  <name> at <file>:<line> (0x...)'.
- AGM magic bumped to v6: stale .agm library objects carry the old 2-field
  records and would misparse.

Frames now read like:
  #0  __silver_assert_failed at memory.ag:399 (0x000000000020e92d)
  #1  level3 at btprobe.ag:3 (0x00000000002124da)
  #2  level2 at btprobe.ag:8 (0x0000000000212505)

Verified: cargo 328/328, run_tests 132/132 (backtrace_test now greps for
'<name> at <file>:' positions), clippy at the single pre-existing warning.
CierCier added a commit that referenced this pull request Aug 16, 2026
The runtime now prints the exact source line of each frame and the values
of spilled arguments — no assembly diving needed to check whether a param
is garbled:

  assertion failed at /tmp/btprobe.ag:4: level3 guard
  backtrace:
    #0  __silver_assert_failed at memory.ag:425 (0x...)
    args: file=2099240 line=4 msg=2099256
    #1  level3 at btprobe.ag:4 (0x...)
    args: x=42
    #2  level2 at btprobe.ag:9 (0x...)
    args: x=42
    ...

DWARF sections are not allocated into the running binary, so the compiler
parses its own emitted object and folds the data into alloc'd,
link-time-resolved tables (agc/src/codegen/dwarf_bt.rs):
- ELF reader (section headers, symtab, RELA relocations — sh_info is the
  target section, addends are raw 64-bit two's complement).
- .debug_line v4/v5 decoder: peeked dir/file tables (name, dir idx, mtime,
  size order), line_base as a signed byte, standard opcodes applied
  (advance_pc/advance_line/set_file/copy/const_add_pc), special-opcode
  address advance divided by line_range, relocated set_address values.
- .debug_info formal parameters: abbrev tables, strp with R_X86_64_32
  relocations applied, exprloc DW_OP_fbreg (frame base is rbp) / DW_OP_reg.
- emit_bt_debug_tables: __silver_bt_lines ({fn, offset, line, file}) and
  __silver_bt_args ({fn, count, {name, fbreg, size}}) globals, linkonce_odr,
  always emitted (empty when no DWARF). The object is re-emitted with the
  tables; the parsed offsets stay valid because the debug sections are
  unchanged.

Unit test compiles a probe with -g and asserts line + param extraction
against the real object. backtrace_test now greps for args: x=.

Verified: cargo 329/329, run_tests 132/132, clippy at the single
pre-existing warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants