Skip to content

Update to rustix 1.1.5 that fixes some build errors - #397

Closed
alexlarsson wants to merge 1 commit into
mainfrom
update-rustix
Closed

alexlarsson wants to merge 1 commit into
mainfrom
update-rustix

Conversation

@alexlarsson

Copy link
Copy Markdown
Contributor

We're getting:

error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.36.5/src/backend/linux_raw/io/errno.rs:28:25
   |
28 | #[cfg_attr(rustc_attrs, rustc_layout_scalar_valid_range_start(0xf001))]
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

due to bytecodealliance/rustix#1620.

So, update to rustix 1.1.5 which fixes this.

We're getting:
```
error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
  --> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-0.36.5/src/backend/linux_raw/io/errno.rs:28:25
   |
28 | #[cfg_attr(rustc_attrs, rustc_layout_scalar_valid_range_start(0xf001))]
   |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

due to bytecodealliance/rustix#1620.

So, update to rustix 1.1.5 which fixes this.

Signed-off-by: Alexander Larsson <alexl@redhat.com>
@alexlarsson

Copy link
Copy Markdown
Contributor Author

Ah, this is not right. The issue is not in the composefs-rs code, but in cargo-fuzz, which is using some ancient rustix.

@alexlarsson

Copy link
Copy Markdown
Contributor Author

New try in #398

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.

1 participant