As far as I can tell, tensorflow_macos requires at least TF 2.4, while the Rust binding currently is at 2.3 (see tensorflow-sys/
build.rs).
I've actually managed to make the Rust binding work with TF 2.4 in my personal fork (because I have hardware that's only supported from 2.4), but it involves writing unsafe code, which is a realm I'm no expert in. The biggest part I had to change was due to the new TF_TString API introduced in the C API from version 2.4.