Skip to content

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

@bixia

Description

@bixia

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 (1d1e182 2022-09-11T00:04:31.351526Z)

What command(s) is the bug in?

forge b

Operating System

macOS (Apple Silicon)

Describe the bug

i write an YUL file, and i hope the forge can compile it for me. but it fails with the corresponding error:

(base)   temp git:(master)  forge b  
[] Compiling...
[] Compiling 10 files with 0.8.16
[] Solc 0.8.16 finished in 1.99s
[] Compiling 1 files with 0.8.16
[] Solc 0.8.16 finished in 6.38ms
Error: 
Compiler run failed
Field "settings.remappings" cannot be used for Yul.

and also, i create an repo to replicate this error, please check:
https://github.com/bixia/temp/tree/master/src

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions