rv6 icon indicating copy to clipboard operation
rv6 copied to clipboard

`Path::skipelem`에서 doctest error 해결

Open anemoneflower opened this issue 4 years ago • 1 comments

Path::skipelem에서 doctest error 해결하기

anemoneflower avatar Jan 27 '21 06:01 anemoneflower

https://github.com/rust-lang/cargo/issues/2442

Not really, the only problem with staticlibs is on "doctests" not on code tests. The problem is related with linking, then, to run doctests with staticlibs you have to compile it in another linkable format (lib or rlib). An approach (a bit weird in my opinion) when you dont have lib or rlib in your crate-type, compile it anyway and run doctests using it.

I think the solution is to warn the user that doctests aren't run when you don't have one of the doctesteable crate types.

위 이슈와 연관되어서 "staticlib" 사용으로 인해 생기는 문제인가요?

anemoneflower avatar Jan 28 '21 15:01 anemoneflower