Does <publishing from any host> mean that we can a...
# multiplatform
e
Does publishing from any host mean that we can also run unit tests from any host? That doesn't seem to be working with one of my projects, but I wanted to make sure.
🚫 2
@jw is that because the test is run against a platform binary, and not a klib?
j
Fundamentally a particular host can only run binaries for that specific host.
This is true of every language. You can take a C file and cross-compile it to Windows and Mac from Linux using Zig but you can't run anything except the Linux executable on the Linux host.
e
So something at the compiler level (like detekt) would work, because it's "pre-binary"?
j
Yes. Detekt doesn't run your code, it analyzes it statically.
e
Got it, so I guess I can't fully stop using mac runners on CI 😅
🙌 1