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

cargo build error #22

Closed
547555909 opened this issue Mar 7, 2022 · 3 comments
Closed

cargo build error #22

547555909 opened this issue Mar 7, 2022 · 3 comments

Comments

@547555909
Copy link

Compiling mediasoup-sys v0.3.1
error[E0658]: use of unstable library feature 'str_strip': newly added
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mediasoup-sys-0.3.1/build.rs:34:18
|
34 | .strip_suffix("libstdc++.a")
| ^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#67302

error: aborting due to previous error

For more information about this error, try rustc --explain E0658.
error: could not compile mediasoup-sys.

To learn more, run the command again with --verbose.

@Moonron
Copy link

Moonron commented Mar 9, 2022

Find in Cargo.lock

[[package]]
name = "mediasoup-sys"
version = "0.3.1"

And change version to 0.3.2, then run cargo generate-lockfile and build it.

Works for me

@547555909
Copy link
Author

thank you,i will try it

@547555909
Copy link
Author

cargo generate-lockfile

cargo generate-lockfile
Updating crates.io index
error: failed to get base64 as a dependency of package vortex v0.3.0-alpha.1 (/root/vortex)

Caused by:
failed to load source for dependency base64

Caused by:
Unable to update registry crates-io

Caused by:
failed to fetch https://github.com/rust-lang/crates.io-index

Caused by:
network failure seems to have happened
if a proxy or similar is necessary net.git-fetch-with-cli may help here
https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
SSL error: received early EOF; class=Ssl (16); code=Eof (-20)

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