Skip to content

Conversation

@RiverPhillips
Copy link
Contributor

No description provided.

@RiverPhillips RiverPhillips changed the title demps: bump wasmtime => 6.0.0 deps: bump wasmtime => 6.0.0 Feb 25, 2023
Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
Copy link
Member

@PiotrSikora PiotrSikora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasmtime usually bleeding edge Rust features, so you might need to update rules_rust to latest version to pull a more recent version of Rust for Wasmtime v6.0.0 to compile.

Comment on lines 166 to 176
): [
"@wasmtime__linux_raw_sys__0_0_46//:linux_raw_sys",
],
"//conditions:default": [],
}) + selects.with_or({
# cfg(any(rustix_use_libc, miri, not(all(target_os = "linux", any(target_arch = "x86", all(target_arch = "x86_64", target_pointer_width = "64"), all(target_endian = "little", any(target_arch = "arm", all(target_arch = "aarch64", target_pointer_width = "64"), target_arch = "powerpc64", target_arch = "riscv64", target_arch = "mips", target_arch = "mips64")))))))
(
"@rules_rust//rust/platform:i686-unknown-linux-gnu",
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu",
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu",
"@rules_rust//rust/platform:arm-unknown-linux-gnueabi",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be removed. That's why you're seeing all those errors about missing linux_raw_sys.

Always try to verify the diff between the old and new version of the patch. That's the easiest way to spot issues.

Signed-off-by: river phillips <[email protected]>
Signed-off-by: river phillips <[email protected]>
@PiotrSikora
Copy link
Member

@RiverPhillips please look at the diff between existing and new versions of Bazel rules for errno and rustix crates, you can clearly see the added or removed blocks that are breaking the build.

@RiverPhillips
Copy link
Contributor Author

I'm going to close this an re-open a new PR for 6.0.1

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.

2 participants