Replace `LANGUAGE CPP` with two platform-specific source files
`LANGUAGE CPP` works but comes with some downsides (surprising source rewriting, more recompilations). We can avoid them by having cabal deal with the platform differences instead.
Showing
- obelisk/frontend/android-src/FrontendPaths.hs 15 additions, 0 deletionsobelisk/frontend/android-src/FrontendPaths.hs
- obelisk/frontend/frontend.cabal 11 additions, 0 deletionsobelisk/frontend/frontend.cabal
- obelisk/frontend/linux-src/FrontendPaths.hs 2 additions, 20 deletionsobelisk/frontend/linux-src/FrontendPaths.hs
Loading
Please register or sign in to comment