swift-backtrace icon indicating copy to clipboard operation
swift-backtrace copied to clipboard

Support macOS

Open ianpartridge opened this issue 6 years ago • 3 comments

It would be nice to support macOS in this library.

As macOS comes with libunwind preinstalled that could make a good backend to use.

ianpartridge avatar Jul 18 '19 13:07 ianpartridge

I've recently had the pleasure 😬of using libunwind for a project I've been working on, so I'd be happy to contribute this while its still paged into my brain (if this is interesting to you). From a quick glance, I don't see a canonical way to run the tests, can someone point me in the right direction?

Specifically, docker-compose seems to fail for me. Is running swift test on linux sufficient? (I'm not really sure what all the docker infrastructure is for)

failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

GeorgeLyon avatar Apr 14 '21 22:04 GeorgeLyon

CC @tomerd

weissi avatar Apr 15 '21 09:04 weissi

Never mind, got this to work (I'm somewhat new to docker-compose). This is a pretty slick way of to test multiple versions of Swift/OS.

GeorgeLyon avatar Apr 15 '21 16:04 GeorgeLyon