#! /bin/sh

# Generated by rstantools.  Do not edit by hand.
# Platform-specific Makevars.in override appended below.

"${R_HOME}/bin/Rscript" -e "rstantools::rstan_config()"

# Override the rstantools-generated src/Makevars with our platform-aware
# version (src/Makevars.in) so that macOS ARM64 builds omit TBB/RcppParallel,
# preventing heap corruption when the JVM is co-loaded in the same process.
cp src/Makevars.in src/Makevars
