Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: Add an example #6

Merged
merged 9 commits into from
Sep 2, 2024
Merged

doc: Add an example #6

merged 9 commits into from
Sep 2, 2024

Conversation

larseggert
Copy link
Collaborator

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Sep 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.55%. Comparing base (607f703) to head (473763d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #6   +/-   ##
=======================================
  Coverage   94.55%   94.55%           
=======================================
  Files           1        1           
  Lines         202      202           
=======================================
  Hits          191      191           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@larseggert
Copy link
Collaborator Author

@mxinden CI now fails after merging #5, could you check?

@mxinden
Copy link
Collaborator

mxinden commented Sep 2, 2024

It is failing on the doc test introduced in this pull request. I will take a look why that is the case.

@mxinden
Copy link
Collaborator

mxinden commented Sep 2, 2024

@larseggert can you try the following:

modified   .github/workflows/check.yml
@@ -88,7 +88,7 @@ jobs:
 
           for sanitizer in $SANITIZERS; do
             echo "Running tests with $sanitizer sanitizer..."
-            RUSTFLAGS="-Z sanitizer=$sanitizer" cargo +nightly test -Z build-std --target $TARGET
+            RUSTFLAGS="-Z sanitizer=$sanitizer" RUSTDOCFLAGS="-Z sanitizer=$sanitizer" cargo +nightly test -Z build-std --target $TARGET
           done

@mxinden
Copy link
Collaborator

mxinden commented Sep 2, 2024

test src/lib.rs - get_interface_mtu (line 32) ... ok

Seems to work.

.rustfmt.toml Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
larseggert and others added 2 commits September 2, 2024 17:42
Co-authored-by: Max Inden <mail@max-inden.de>
Co-authored-by: Max Inden <mail@max-inden.de>
src/lib.rs Outdated Show resolved Hide resolved
@mxinden
Copy link
Collaborator

mxinden commented Sep 2, 2024

I don't think the latest commit will compile. See #6 (comment) in case it is already hidden by GitHub UI.

Edit: Never mind. I didn't see the additional imports. Sorry for the noise.

@larseggert larseggert merged commit 9563e44 into main Sep 2, 2024
16 checks passed
@larseggert larseggert deleted the doc-note branch September 2, 2024 14:55
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.

3 participants