Repository navigation
Conversation
cc8d942 to
416a8df
Compare
|
needs rebase |
|
416a8df needs rebase |
416a8df to
5d57119
Compare
|
Rebased |
5d57119 to
07ce8ba
Compare
|
Made some improvements per @KyrylR's suggestions |
07ce8ba to
235a814
Compare
|
needs rebase |
235a814 to
ad3a9e8
Compare
ad3a9e8 to
c0772e0
Compare
7172f08 to
667d0b3
Compare
stringhandler
left a comment
There was a problem hiding this comment.
I think the feature gating is ok, but I would say that we should always print the options in clap, but rather error if they are used without the correct compiled features.
Some other LLM findings:
Output records compiler_version but not the target, and the target changes the CMR
The doc comment on compiler_version at line 30 gives the rationale for carrying it: "Different compiler versions can produce different CMRs from the same source, so the version travels with the artifact as metadata."
That reasoning now applies verbatim to --target. Same source, same compiler, different target:
$ simc examples/cat.simf # CMR e65e19e139a13583a0a7efb24be13c20d578f06f51b2a7fe7c7b9097072dbabe
$ simc -t core examples/cat.simf # CMR c83aea0e102548c2a441c6d4d268fb0469263601ef705ea61fa18882938ec06f
With --json consumers now unable to tell which jet set an artifact was built against, a target: String field on Output seems like it belongs in this PR. (It would need Display/Debug on Target, which it doesn't currently derive.)
667d0b3 to
fc4f030
Compare
|
I iterated on all comments that been written here |
fc4f030 to
1320c9a
Compare
|
1320c9a needs rebase |
1320c9a to
b3297d2
Compare
Done. I also tried to address your latest comment here |
|
NACK b3297d2 We can't realistically ever guarantee the safety of a dynamic path load. As described we can lower the scope of --target to just Elements and Core, or we can change it to only support WASM loaded jets via the command line |
3de1c8b to
82e458d
Compare
82e458d to
a44761c
Compare
|
I updated this PR per Mike's suggestion |
This PR creates a new compilation option to choose a target jet set. Closes #224