No, it's not. You can call native (C) functions from the JVM.
That said; nowadays you have the Native and JS runtimes as possible targets as well. Scala.js works surprisingly good with very few caveats.