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

Using logLevel and releaseMode from the sample module in docs returns error #2040

Closed
carlosedp opened this issue Sep 19, 2022 · 0 comments · Fixed by #2041
Closed

Using logLevel and releaseMode from the sample module in docs returns error #2040

carlosedp opened this issue Sep 19, 2022 · 0 comments · Fixed by #2041
Milestone

Comments

@carlosedp
Copy link
Contributor

If setting a new Scala Native project using the sample provided by https://com-lihaoyi.github.io/mill/mill/Common_Project_Layouts.html#_scala_native_modules, the following error is returned:

/riscvassembler/build.sc:65: not found: value ReleaseMode
  def releaseMode = T(ReleaseMode.ReleaseFast) // optional
                      ^
/riscvassembler/build.sc:64: not found: value NativeLogLevel
  def logLevel    = T(NativeLogLevel.Info)     // optional
                      ^
/riscvassembler/build.sc:64: `T.command` definitions must have 1 parameter list
  def logLevel    = T(NativeLogLevel.Info)     // optional

The import mill.scalanativelib.api._ is missing in the example.

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

Successfully merging a pull request may close this issue.

2 participants