Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Add RUSTDOCFLAGS to README #74

Merged
merged 1 commit into from
Jun 4, 2020

Conversation

sharksforarms
Copy link
Contributor

RUSTDOCFLAGS is used to pass arguments to doc tests, RUSTFLAGS is unfortunately not passed resulting in the following errors:

failures:

---- src/lib.rs -  (line 11) stdout ----
error: the crate `tester` is compiled with the panic strategy `abort` which is incompatible with this crate's strategy of `unwind`

error: aborting due to 4 previous errors

Couldn't compile the test.

failures:
    src/lib.rs -  (line 11)

Found RUSTDOCFLAGS here: rust-lang/cargo#6650

Upstream tracking issue: rust-lang/rust#43031

If there's a way to reference $RUSTFLAGS in the yaml somehow, let me know and I can update it! For now I just pasted RUSTFLAGS

- RUSTDOCFLAGS is used to pass arguments to doc tests

Tracking issue: rust-lang/rust#43031
@sharksforarms sharksforarms force-pushed the add-rustdoc-support branch from 821a43f to e495587 Compare May 28, 2020 19:34
@svartalf svartalf merged commit d9881ad into actions-rs:master Jun 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants