pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

feat: builds successfully on arm based m1 mac #45

Closed counterbeing closed 2 years ago

counterbeing commented 2 years ago

I'm not sure how helpful this is. I read that the next revision of pact is going to use this rust stub server and decided to see if I could get it running on my M1 mac. With a couple of slight modifications it runs.

The problem of building for ARM in a runner will still need to be solved.

(feel free to delete if this isn't of any use)

uglyog commented 2 years ago

Thanks for looking into this.

I don't see any M1 specific changes. Is it just providing a cargo update and updating the pact_models crate?

BTW, this stub server is not the same as the Pact mock server written in Rust. It is designed more for prototyping than implementing a workflow using Pact.

counterbeing commented 2 years ago

@uglyog I just pulled it down and it didn't run, so I made it run. I don't think there's anything in there that's M1 specific at all. These were just the minimum changes to make it run on my machine.

I'll see if I can try building the other project!

Cheers!

P.S. Feel free to chuck this if it's not useful.

uglyog commented 2 years ago

All good, will merge it!