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

aya: Remove MapError::InvalidPinPath #355

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

dave-tucker
Copy link
Member

Signed-off-by: Dave Tucker dave@dtucker.co.uk

Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
@netlify
Copy link

netlify bot commented Aug 2, 2022

Deploy Preview for aya-rs ready!

Name Link
🔨 Latest commit 03a15b9
🔍 Latest deploy log https://app.netlify.com/sites/aya-rs/deploys/62e90c4d14f9dc00083c8e59
😎 Deploy Preview https://deploy-preview-355--aya-rs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

})
}
};
let path_string = CString::new(map_path.to_str().unwrap()).unwrap();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only possible error here is NulError. That would require the map name to end with a nul byte - which if it ever did have one was (hopefully) lost when the object lib converted the symbol name into a Rust string.

@dave-tucker dave-tucker merged commit 55a7e3c into aya-rs:main Aug 2, 2022
@dave-tucker dave-tucker added fix A PR that is a small change or fixes a bug aya This is about aya (userspace) labels Feb 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aya This is about aya (userspace) fix A PR that is a small change or fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant