Skip to content

Update dynasmrt requirement from 4.0.2 to 5.0.0#3809

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/dynasmrt-5.0.0
Open

Update dynasmrt requirement from 4.0.2 to 5.0.0#3809
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/cargo/dynasmrt-5.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 21, 2026

Updates the requirements on dynasmrt to permit the latest version.

Changelog

Sourced from dynasmrt's changelog.

Version 5.0.0

Summary

This release reworks the internals of relocation handling, allowing for more freedom in how references can be encoded.

Plugin

  • Added new .abs[32/64] and .rel[8/16/32/64] directives that allow the address or offset of labels to be directly encoded in the instruction stream.
    • Part of this functionality was previously available using data directives, which has been removed.
  • Allowed extern labels to be used in all architectures.
  • Simplified emitted code using the new unified relocation encoding.

Runtime

  • Rewrote a significant part of runtime relocation handling. The underlying API has changed, although simple users of the dynasm! macro should not be affected.
  • LitPool was reworked to support the features of the new relocation system.

Architecture specific

  • x64: 64-bit immediate move instruction gained a format for encoding relocations, to support the x64 large code model.

Bugfixes

  • Fixed an issue where the x64 backend would overestimate the required space for the encoding of large negative immediates.
  • Fixed an issue where the aarch64 instruction adrp would be encoded wrongly when given an immediate as argument.
  • Fixed an issue with negative eip-relative offsets in x86 mode.

Version 4.0.2

Bugfix

Fixes an issue for the x64 out instruction, where the format out imm8, ax accidentally didn't get a 16-bit operand size override prefix.

Version 4.0.1

Bugfix

This bugfix release fixes a failure to compile the dynasmrt crate on non-unix RISC-V.

Version 4.0.0

Summary

This release adds ergonomics improvements to dynamic registers. Where it was previously required to explicitly convert the type for dynamic registers as follows:

</tr></table> 

... (truncated)

Commits
  • 9d39aaf Add a test for adrp encoding and finalize release notes.
  • 1b95230 fix(aarch64): shift immhi bits of adrp to account for immlo
  • a294fba Update dependencies and version bump to v5.0.0
  • d27beb3 Update the documentation, adding a page on dynamic assembling basics, includi...
  • c153e6f Handle new rustc warnings and fix test suite issues on 32-bit platforms.
  • 8cc8109 Add tests to validate the behaviour of the relocation changes and the new rel...
  • 7ab0bfe Rework the way relocations are encoded and emitted.
  • 55e83aa Add some notes on the special mov variants in the x64 language reference page.
  • 965db71 Implement x64 large code model: add absolute 64-bit relocations usable in the...
  • 123acd9 Fix an issue in x64 constant immediate size detection leading to overestimati...
  • See full diff in compare view

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)

Updates the requirements on [dynasmrt](https://github.com/CensoredUsername/dynasm-rs) to permit the latest version.
- [Changelog](https://github.com/CensoredUsername/dynasm-rs/blob/master/doc/releasenotes.md)
- [Commits](CensoredUsername/dynasm-rs@v4.0.2...v5.0.0)

---
updated-dependencies:
- dependency-name: dynasmrt
  dependency-version: 5.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 21, 2026
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