r-wasm / rwasm

Build R packages for WebAssembly and create a CRAN-like repo for distribution.
https://r-wasm.github.io/rwasm/
Other
54 stars 4 forks source link

Make CXX17 the default #12

Closed jeroen closed 8 months ago

jeroen commented 8 months ago

This matches config of R 4.3 on other platforms, for example on Linux:

# R CMD config CXX
g++ -std=gnu++17

# R CMD config CXXFLAGS
-g -O2

This fixes https://github.com/r-wasm/webr/issues/347.

Ps: it is unclear to me how webr-vars.mk related to in this package related to the one in webr. Do we fix it there as well?