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

Compile error on nightly: invalid monomorphization, simd_shuffle index must be a SIMD vector #571

Open
mischnic opened this issue Sep 18, 2024 · 2 comments

Comments

@mischnic
Copy link
Contributor

I get this compile error on nightly-2024-09-17:

error[E0511]: invalid monomorphization of `simd_shuffle` intrinsic: simd_shuffle index must be a SIMD vector of `u32`, got `[u32; 4]`
   --> /Users/niklas/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pathfinder_simd-0.5.4/src/arm/mod.rs:163:24
    |
163 |         unsafe { F32x4(simd_shuffle4!(self.0, other.0, [0, 1, 2, 3])) }
    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: this error originates in the macro `simd_shuffle4` (in Nightly builds, run with -Z macro-backtrace for more info)
@mischnic
Copy link
Contributor Author

This is caused by rust-lang/rust#128738 / rust-lang/rust#130268

@theoparis
Copy link

I have the same issue with both stable rust (1.81) and nightly 1.83 😕 I am unable to compile the Zed editor due to this issue.

theoparis added a commit to theoparis/pathfinder that referenced this issue Sep 21, 2024
theoparis added a commit to theoparis/zed that referenced this issue Sep 29, 2024
- Removed fuse-ld=mold
- Removed rust version requirement
- Temporary fix for zed-industries#18492
- Temporary fix for servo/pathfinder#571
- Upgraded to wasip2
theoparis added a commit to theoparis/zed that referenced this issue Oct 7, 2024
- Removed fuse-ld=mold
- Removed rust version requirement
- Temporary fix for zed-industries#18492
- Temporary fix for servo/pathfinder#571
- Upgraded to wasip2
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