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 Report]: Static assertion failed while compiling to target_arch = arm #1457

Open
Chiichen opened this issue Apr 15, 2024 · 0 comments
Open

Comments

@Chiichen
Copy link
Contributor

Description

I am trying to build rusty_v8 with target_arch = arm. The following errors occured

../../../../src/binding.cc:59:1: error: static assertion failed due to requirement 'sizeof(v8::ScriptCompiler::CompilationDetails) == sizeof(unsigned int) * 3': CompilationDetails size mismatch
static_assert(sizeof(v8::ScriptCompiler::CompilationDetails) ==
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../src/binding.cc:59:62: note: expression evaluates to '24 == 12'
static_assert(sizeof(v8::ScriptCompiler::CompilationDetails) ==
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../../../../src/binding.cc:63:1: error: static assertion failed due to requirement 'sizeof(v8::ScriptCompiler::Source) == align_to(sizeof(unsigned int) * 9 + sizeof(int) * 2 + sizeof(v8::ScriptCompiler::CompilationDetails))': Source size mismatch
static_assert(
^
../../../../src/binding.cc:64:40: note: expression evaluates to '72 == 68'
sizeof(v8::ScriptCompiler::Source) ==
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
2 errors generated.

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