Skip to content
Discussions/App Development/How can I find the supported DAML-LF target versions for the compiler?Forum ↗

How can I find the supported DAML-LF target versions for the compiler?

App Development3 posts444 views2 likesLast activity Jul 2020
GE
georgOP
Jul 2020

I know how to set the target version in daml.yaml:

build-options:
  - --target=1.6

But how can I find out which versions are supported by the compiler for my SDK version?

CO
cocreature
Jul 2020

I don’t think there is an easy way atm sadly. We originally hid --target from daml build --help since it was intended as an internal implementation detail but we should probably reconsider that.

In the meantime, the easiest option might be to look at the source code, e.g., daml/Version.hs at 1c18058f019229cd0af64669af0de31d0cec916d · digital-asset/daml · GitHub for SDK 1.2.0.

GA
Gary_Verhaegen
Jul 2020

In case you might want to check other versions, note that you don’t have to hunt for the commit SHA for each; you can use the version tag directly in the URL:

← Back to Discussions