Skip to content

chore: Release rustix version 0.38.5 #765

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

Closed
wants to merge 1 commit into from
Closed

chore: Release rustix version 0.38.5 #765

wants to merge 1 commit into from

Conversation

heiher
Copy link
Contributor

@heiher heiher commented Aug 2, 2023

Bump up to v0.38.5

@heiher
Copy link
Contributor Author

heiher commented Aug 2, 2023

Issue: #764

@sunfishcode
Copy link
Member

Thanks for this branch, however I use cargo-release to create version-bump commits so a manual PR isn't needed.

I've now released 0.38.5.

@sunfishcode sunfishcode closed this Aug 2, 2023
@utkarshgupta137
Copy link

@sunfishcode Getting build errors:

error[E0433]: failed to resolve: could not find `FsConfigCmd` in `types`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.5/src/backend/linux_raw/mount/syscalls.rs:214:27
    |
214 |             super::types::FsConfigCmd::Create,
    |                           ^^^^^^^^^^^ could not find `FsConfigCmd` in `types`

error[E0433]: failed to resolve: could not find `FsConfigCmd` in `types`
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.5/src/backend/linux_raw/mount/syscalls.rs:228:27
    |
228 |             super::types::FsConfigCmd::Reconfigure,
    |                           ^^^^^^^^^^^ could not find `FsConfigCmd` in `types`

error[E0277]: the trait bound `reg::ArgReg<'_, A3>: From<MountFlagsArg>` is not satisfied
   --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.5/src/backend/linux_raw/arch/mod.rs:258:17
    |
258 |               $a3.into(),
    |                   ^^^^ the trait `From<MountFlagsArg>` is not implemented for `reg::ArgReg<'_, A3>`
    |
   ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.5/src/backend/linux_raw/mount/syscalls.rs:23:13
    |
23  |           ret(syscall_readonly!(
    |  _____________-
24  | |             __NR_mount,
25  | |             source,
26  | |             target,
...   |
29  | |             data
30  | |         ))
    | |_________- in this macro invocation
    |
    = help: the following other types implement trait `From<T>`:
              <reg::ArgReg<'a, Num> as From<&'a CStr>>
              <reg::ArgReg<'a, Num> as From<&'a mut MaybeUninit<T>>>
              <reg::ArgReg<'a, Num> as From<&'a mut [MaybeUninit<T>]>>
              <reg::ArgReg<'a, Num> as From<(backend::fs::types::Mode, backend::fs::types::FileType)>>
              <reg::ArgReg<'a, Num> as From<*const T>>
              <reg::ArgReg<'a, Num> as From<*mut T>>
              <reg::ArgReg<'a, Num> as From<Advice>>
              <reg::ArgReg<'a, Num> as From<BorrowedFd<'a>>>
            and 18 others
    = note: required for `MountFlagsArg` to implement `Into<reg::ArgReg<'_, A3>>`
    = note: this error originates in the macro `syscall_readonly` (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0277, E0433.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `rustix` (lib) due to 3 previous errors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants