Skip to content
Discussion options

You must be logged in to vote

crates.io 并没有test这个包

add_requires("cargo::test", { configs = { cargo_toml = path.join(os.projectdir(), "Cargo.toml") } })

请问这里的cargo::test 只是为了使用Cargo.toml吗?

我随便取的名字,包含 toml 里面所有的包

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
10 replies
@iujakchu
Comment options

@waruqi
Comment options

@waruqi
Comment options

@iujakchu
Comment options

@iujakchu
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by iujakchu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants