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

forc build - Too many arguments error #6264

Closed
SwayStar123 opened this issue Jul 12, 2024 · 1 comment
Closed

forc build - Too many arguments error #6264

SwayStar123 opened this issue Jul 12, 2024 · 1 comment
Labels
bug Something isn't working compiler General compiler. Should eventually become more specific as the issue is triaged triage This issue was opened with a template and needs to be triaged by code owners.

Comments

@SwayStar123
Copy link
Member

SwayStar123 commented Jul 12, 2024

Related Component

compiler

Problem

Error

thread 'main' panicked at sway-core/src/asm_generation/fuel/functions.rs:121:30:
Too many arguments, cannot handle.: Immediate12TooLarge { val: 4348, span: Span { src (ptr): 0x559144d90710, source_id: None, start: 0, end: 0, as_str(): "" } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Steps

  1. git clone https://github.com/FuelLabs/sway-applications
  2. cd escrow
  3. change fuel-toolchain.toml to forc 0.65.1
  4. forc build

Possible Solution(s)

No response

Notes

No response

Installed components

forc 0.65.1
@SwayStar123 SwayStar123 added bug Something isn't working triage This issue was opened with a template and needs to be triaged by code owners. compiler General compiler. Should eventually become more specific as the issue is triaged labels Jul 12, 2024
@sdankel
Copy link
Member

sdankel commented Aug 19, 2024

Hi @SwayStar123 thanks for the report. There isn't yet a v0.65.1 of forc - 0.63.0 is about to be released.

I was able to repro this with forc = "0.60.0", but it appears to be fixed with the current version forc = "0.62.0". Feel free to reopen if this happens again with newer versions.

@sdankel sdankel closed this as completed Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler General compiler. Should eventually become more specific as the issue is triaged triage This issue was opened with a template and needs to be triaged by code owners.
Projects
None yet
Development

No branches or pull requests

2 participants