Dead code warning with multiple binaries?

后端 未结 0 2031
广开言路
广开言路 2021-02-14 21:19

I noticed that in order for a piece of code to not be classified as dead, it has to be reachable from all binaries. Example:

Cargo.toml:
[[bin]]
name = "main         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题