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

could build 'v8' #1631

Closed
frezyn opened this issue Sep 22, 2024 · 2 comments
Closed

could build 'v8' #1631

frezyn opened this issue Sep 22, 2024 · 2 comments

Comments

@frezyn
Copy link

frezyn commented Sep 22, 2024

when i try build file, i recived this error.:

  Compiling v8 v0.106.0
error[E0658]: inline-const is experimental
   --> /Users/frezyn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.106.0/src/object.rs:772:5
    |
772 |     const {
    |     ^^^^^
    |
    = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information

error[E0658]: inline-const is experimental
   --> /Users/frezyn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.106.0/src/object.rs:790:5
    |
790 |     const {
    |     ^^^^^
    |
    = note: see issue #76001 <https://github.com/rust-lang/rust/issues/76001> for more information

error[E0658]: associated type bounds are unstable
   --> /Users/frezyn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.106.0/src/handle.rs:193:33
    |
193 |     Self: TryInto<Local<'s, A>, Error: std::fmt::Debug>,
    |                                 ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information

error[E0658]: use of unstable library feature 'pointer_is_aligned'
   --> /Users/frezyn/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.106.0/src/fast_api.rs:175:32
    |
175 |     if data.is_null() || !data.is_aligned() {
    |                                ^^^^^^^^^^
    |
    = note: see issue #96284 <https://github.com/rust-lang/rust/issues/96284> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `v8` (lib) due to 4 previous errors`

I didn't find anything about what causes this, does anyone have a suggestion?

@bartlomieju
Copy link
Member

Make sure you use latest stable Rust version (1.81.0)

@frezyn
Copy link
Author

frezyn commented Sep 22, 2024

omg, i didn't tkink of that, tks man!!! <3

@frezyn frezyn closed this as completed Sep 22, 2024
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