Skip to content

Commit 0354ad1

Browse files
authored
Add -Ymacro-annotations to build.mill (#137)
Needed for the example in https://www.chisel-lang.org/docs/cookbooks/hierarchy to work. @public is a macro, but mill doesn't expand it, and sbt does. Hence, sbt worked but mill did not.
1 parent e896c5c commit 0354ad1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build.mill

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ object %NAME% extends SbtModule { m =>
2121
"-deprecation",
2222
"-feature",
2323
"-Xcheckinit",
24+
"-Ymacro-annotations",
2425
)
2526
override def ivyDeps = Agg(
2627
ivy"org.chipsalliance::chisel:7.0.0-RC1",

0 commit comments

Comments
 (0)