Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Errors while building on Ubuntu 18.04 on WSL2 with Rust nightly #30

Closed
playerdefault opened this issue May 30, 2020 · 4 comments
Closed

Comments

@playerdefault
Copy link

Trying to build it in WSL2 gives the error:

error: legacy asm! syntax is no longer supported
archival/dpkg.rs:2451:3
     |
2451 |   asm!("" : : : "memory" : "volatile");
     |   ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |   |
     |   help: replace with: `llvm_asm!

in a bunch of places (422 errors)

Here's the relevant system information:
Linux Version: 4.4.0-18362-Microsoft x86_64 x86_64 x86_64 GNU/Linux
Ubuntu Version: Ubuntu 18.04.4 LTS
Windows Version: Windows 10 Pro 1909 (v. 18363.836)
Rust version: 1.45.0-nightly (4bd32c980 2020-05-29)

@samuela
Copy link
Owner

samuela commented May 31, 2020

I can reproduce. It looks like we're getting bit by rust-lang/rfcs#2843...

@samuela
Copy link
Owner

samuela commented May 31, 2020

Ok, should be fixed with 0d2201e! Let me know if that's not the case for you!

@samuela samuela closed this as completed May 31, 2020
@playerdefault
Copy link
Author

playerdefault commented May 31, 2020

Confirmed building for rustc version 1.45.0-nightly (74e804683 2020-05-30) on posted environment.
image

@samuela
Copy link
Owner

samuela commented May 31, 2020

Niiiice!

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

No branches or pull requests

2 participants