tweag / asterius

DEPRECATED in favor of ghc wasm backend, see https://www.tweag.io/blog/2022-11-22-wasm-backend-merged-in-ghc
1.98k stars 55 forks source link

Order of --output-directory flag matters #904

Open gergoerdi opened 2 years ago

gergoerdi commented 2 years ago

The following invocation of ahc-link puts (most) generated files into _build/:

ahc-link --input-hs src/main.hs --output-directory _build

However, passing the output-directory flag earlier seems to be ignored, as the following invocation puts everything into src/:

ahc-link --output-directory _build --input-hs src/main.hs