Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate foreign-types to 0.5.0 #6248

Closed
wants to merge 1 commit into from

Conversation

oxide-renovate[bot]
Copy link
Contributor

@oxide-renovate oxide-renovate bot commented Aug 7, 2024

This PR contains the following updates:

Package Type Update Change
foreign-types workspace.dependencies minor 0.3.2 -> 0.5.0

Release Notes

sfackler/foreign-types (foreign-types)

v0.5.0

Compare Source

  • The ForeignType and ForeignTypeRef traits are now unsafe.
  • The syntax of the foreign_type! macro has changed slightly to require an unsafe keyword before the type name.

v0.4.0

Compare Source

  • Opaque is now both !Send and !Sync.
  • from_ptr constructors have a debug assert that the pointer is non-null.
  • Generated ForeignType structs now use NonNull<T> rather than *mut T.
  • Generated ForeignType structs are now #[repr(transparent)].
  • The foreign_type! macro now uses a different syntax. It supports definition of multiple types per macro invocation, and automatically creates the reference type name. It also supports lifetime and type parameters on generated foreign types.
  • Generated code is now no-std compatible.

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@oxide-renovate oxide-renovate bot added the dependencies Pull requests that update a dependency file label Aug 7, 2024
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Aug 7, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package [email protected] --precise 0.5.0
    Updating crates.io index
error: failed to select a version for the requirement `foreign-types = "^0.3.1"`
candidate versions found which didn't match: 0.5.0
location searched: crates.io index
required by package `openssl v0.10.66`
    ... which satisfies dependency `openssl = "^0.10"` (locked to 0.10.66) of package `omicron-dev v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/omicron/dev-tools/omicron-dev)`

@sunshowers
Copy link
Contributor

Requires other changes.

@sunshowers sunshowers closed this Aug 7, 2024
@oxide-renovate
Copy link
Contributor Author

oxide-renovate bot commented Aug 7, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.5.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@oxide-renovate oxide-renovate bot deleted the renovate/foreign-types-0.x branch August 7, 2024 03:42
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant