rv6
rv6 copied to clipboard
`Path::skipelem`에서 doctest error 해결
Path::skipelem
에서 doctest error 해결하기
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" 사용으로 인해 생기는 문제인가요?