Skip to content

Conversation

@SUPERCILEX
Copy link
Contributor

If you change the return lifetime of next to 'buf you'll get this error:

$ cargo t --workspace --doc --features all-apis
...

failures:

---- src/fs/raw_dir.rs - fs::raw_dir::_doctest (line 242) stdout ----
Test compiled successfully, but it's marked `compile_fail`.

failures:
    src/fs/raw_dir.rs - fs::raw_dir::_doctest (line 242)

test result: FAILED. 30 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.95s

Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
@sunfishcode
Copy link
Member

I must have gotten the versions mixed up earlier., as this does indeed fail to compile. Thanks for all your help here!

@sunfishcode sunfishcode merged commit f2a19cf into bytecodealliance:main Dec 23, 2025
51 of 52 checks passed
@SUPERCILEX
Copy link
Contributor Author

Sweet, thx!

@SUPERCILEX SUPERCILEX deleted the add-doc-test branch December 23, 2025 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants