You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error seems to have appeared, since I upgraded to macos Sonoma 14.4.1
cargo run --example scan
warning: An explicit [[bin]] section is specified in Cargo.toml which currently
disables Cargo from automatically inferring other binary targets.
This inference behavior will change in the Rust 2018 edition and the following
files will be included as a binary target:
* /Users/andrew/workspace/wifiscanner/src/bin/main.rs
This is likely to break cargo build or cargo test as these files may not be
ready to be compiled as a binary target today. You can future-proof yourself
and disable this warning by adding `autobins = false` to your [package]
section. You may also move the files to a location where Cargo would not
automatically infer them to be a target, such as in subfolders.
For more information on this warning you can consult
https://github.com/rust-lang/cargo/issues/5330
warning: path `/Users/andrew/workspace/wifiscanner/src/bin/main.rs` was erroneously implicitly accepted for binary `wifiscanner`,
please set bin.path in Cargo.toml
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running `target/debug/examples/scan`
Err(HeaderNotFound("BSSID"))
uname -a
Darwin amackenz-mac 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64
Tests pass though, so maybe if we do find a bug on this version we need to add a test also.
The text was updated successfully, but these errors were encountered:
discovered that as I was also using it directly.
I thought I added that to this issue but seems not or didn't hit "save" :-(
Either way, I guess I'll just have to rework my binary to use networksetup or wdutil (requires sudo :-( ) directly, and skip this crate.
Maybe worth an addition to the readme to explain for newer macos versions or mark as unmaintained/deprecated?
This error seems to have appeared, since I upgraded to macos Sonoma 14.4.1
Tests pass though, so maybe if we do find a bug on this version we need to add a test also.
The text was updated successfully, but these errors were encountered: