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

Cant compile #27

Open
attid opened this issue Apr 24, 2023 · 1 comment
Open

Cant compile #27

attid opened this issue Apr 24, 2023 · 1 comment

Comments

@attid
Copy link

attid commented Apr 24, 2023

Ubuntu 20.04.5 LTS
i run - "cargo bench" get -

Compiling serde_cbor v0.11.2
error[E0599]: no method named difference found for struct backend::fs::types::AtFlags in the current scope
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.14/src/backend/linux_raw/fs/syscalls.rs:1396:10
|
1396 | .difference(AtFlags::EACCESS | AtFlags::SYMLINK_NOFOLLOW)
| ^^^^^^^^^^ method not found in backend::fs::types::AtFlags
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.14/src/backend/linux_raw/fs/types.rs:23:1
|
23 | / bitflags! {
24 | | /// AT_* constants for use with [openat], [statat], and other *at
25 | | /// functions.
26 | | ///
... |
53 | | }
54 | | }
| |_- method difference not found for this struct

For more information about this error, try rustc --explain E0599.
error: could not compile rustix due to previous error
warning: build failed, waiting for other jobs to finish...

=(

@sunfishcode
Copy link

This is bytecodealliance/rustix#629, which is now fixed in rustix "0.37.15".

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

No branches or pull requests

2 participants