`cargo doc` ignores build script #2175

rasendubi opened this Issue Nov 28, 2015 · 0 comments


None yet

2 participants


I have the libcore in a custom location because I'm cross-compiling to a custom target. I specify the link path with a build script. My library builds fine but generating documentation with cargo doc --target=thumbv7em-none-eabi fails because it can't find libcore. From --verbose I see cargo doesn't run my build script and doesn't pass my link directory.

@alexcrichton alexcrichton added the C-doc label Nov 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment