Skip to content

forge build compile the YUL file with the error Field "settings.remappings" cannot be used for Yul. #7869

@gzeoneth

Description

@gzeoneth

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (c486fca 2024-05-06T00:20:07.911403000Z)

What command(s) is the bug in?

forge build

Operating System

macOS (Apple Silicon)

Describe the bug

Same issue as reported in #3173

https://github.com/OffchainLabs/nitro-contracts/actions/runs/8970092142/job/24632823571?pr=170

$ FOUNDRY_PROFILE=yul forge build --skip *.sol
Compiling 1 files with Solc 0.8.9
Solc 0.8.9 finished in 2.78ms
Error: 
Compiler run failed:
Error: Field "settings.remappings" cannot be used for Yul.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions