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

unable to compile --noob issue #17

Closed
arcnet01 opened this issue Sep 20, 2022 · 2 comments
Closed

unable to compile --noob issue #17

arcnet01 opened this issue Sep 20, 2022 · 2 comments

Comments

@arcnet01
Copy link

Hi

I am working my way through some vgpu tutorial..

proxmox 7.2 fresh install
this tutorial: https://wvthoog.nl/proxmox-7-vgpu-v2/

when i run cargo build --release it will error out with the following:

error[E0658]: use of unstable library feature 'assoc_char_funcs': recently added
--> src/format.rs:77:21
|
77 | for item in char::decode_utf16(self.0.iter().copied().take_while(|&ch| ch != 0)) {
| ^^^^^^^^^^^^^^^^^^
|
= note: see issue #71763 rust-lang/rust#71763 for more information

error[E0658]: use of unstable library feature 'assoc_char_consts': recently added
--> src/format.rs:78:41
|
78 | f.write_char(item.unwrap_or(char::REPLACEMENT_CHARACTER))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #71763 rust-lang/rust#71763 for more information

error: aborting due to 2 previous errors

i have no idea how to get past this..

Halp plz

@mbilker
Copy link
Owner

mbilker commented Sep 21, 2022

The compiler is complaining about some language features used that were unstable in the version of Rust installed on your system. However, I looked at the tracking issue and this was stabilized in Rust 1.52.0 but they were exposed on a different module in the older Rust language version included in Debian Bullseye, which is what Proxmox 7 is based on.

I pushed a new version of vgpu_unlock-rs and verified that vgpu_unlock-rs compiles under Debian Bullseye.

@mbilker mbilker closed this as completed Sep 21, 2022
@arcnet01
Copy link
Author

Thanks much.

worked no issues

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