cargo-atcoder
cargo-atcoder copied to clipboard
Config path is not ~/Library/Preferences/cargo-atcoder.toml but ~/Library/Application Support/cargo-atcoder.toml in macOS
macOS 環境における設定ファイルのパスが ~/Library/Preferences/cargo-atcoder.toml から ~/Library/Application Support/cargo-atcoder.toml に変更されたようです
macOS 環境でsubmitしてもソースコードで提出されたり、crossが使われなくなったりして不思議に思ったのですが上記が原因でした。 dirsのバージョンが2.0.2から3.0.1に更新されるに伴いconfig_dir()が返す値が変更された事が原因のようです。 https://docs.rs/dirs/2.0.2/dirs/fn.config_dir.html https://docs.rs/dirs/3.0.1/dirs/fn.config_dir.html
#54 で解決されますね。