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

[bug]: rustup and cargo v8 error compiling #61

Open
1 task done
Estrama9 opened this issue Sep 28, 2023 · 0 comments
Open
1 task done

[bug]: rustup and cargo v8 error compiling #61

Estrama9 opened this issue Sep 28, 2023 · 0 comments

Comments

@Estrama9
Copy link

Prerequisites

  • I have searched for existing issues that already report this problem.

Device

Phone/tablet

Device OS

Linux

Device OS Version

Ubuntu 22.04.3 LTS

Browser

Firefox

Browser Version

118.0

Current Behavior

Following the guide at https://docs.start9.com/latest/developer-docs/packaging and after installing all the dependencies in the section "Start SDK" when compiling an error appears:

error[E0080]: evaluation of constant value failed
--> /home/trig/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.43.1/src/isolate.rs:1183:3
|
1183 | assert!(size_of::() == size_of::());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the evaluated program panicked at 'assertion failed: size_of::() == size_of::()', /home/trig/.cargo/registry/src/index.crates.io-6f17d22bba15001f/v8-0.43.1/src/isolate.rs:1183:3
|
= note: this error originates in the macro assert (in Nightly builds, run with -Z macro-backtrace for more info)

Compiling basic-cookies v0.1.4
For more information about this error, try rustc --explain E0080.
error: could not compile v8 (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile embassy-os v0.3.4-rev.1 (/home/trig/start-os/backend), intermediate artifacts can be found at /home/trig/start-os/backend/target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.

Expected Behavior

i expect sdk to compile

Steps to Reproduce

1.cd to start-os
2. cd to backend
3. ./install-sdk.sh
4. error

Anything else?

No response

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

1 participant