I am looking for help developing in Rust on a Macbook M3. I have been assigned this laptop for work and I am used to working on Linux. To be honest, I'm hating this Mac and it's making a challenging new job much harder.
I have a test that fails locally on M3 but that passes on my Linux laptop (thankfully at least this project is open source so I can check it out to my own laptop). The test uses a run_server
function from an imported dependency, listening on 0.0.0.0
and that is a hardcoded configuration that I don't want to have to change. The test runs normally up to a failing assertion that a value should have been updated after connecting to the server.
Does anybody who uses an M3 for their work have a list of what needs to be added to Network > Firewall options to allow incoming connections?
I found MacOS firewall settings tools for Node users, but I wish I could find someone using Rust who understands and knows how to solve my issue.
So far, adding the executables created when I run cargo test --no-run
to the "allow incoming connections" list in Firewall options has not fixed my issue.
The IT department sets the profiles and so I'm restricted from enabling and accessing the logs for the firewall while my test runs. So far nobody is able to help me and my teammates - for whatever reason - have Linux laptops while I (basically the first new guy for a long time) was assigned this M3 without being asked ...
If anyone could help it would really make my day as I'm behind and feeling defeated by this.