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

Allow golang client to be used with go 1.18 #297

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

jhand2
Copy link
Collaborator

@jhand2 jhand2 commented Jan 4, 2024

Make some small tweaks to allow the DPE client to be used with go 1.18.

In particular, go 1.18 does not allow constructing an array from a slice. The copy must be done manually.

Additionally, fix an issue where a Digest is constructed before the length is verified, which may panic.

@jhand2 jhand2 requested a review from sree-revoori1 January 4, 2024 01:00
Make some small tweaks to allow the DPE client to be used with go 1.18.

In particular, go 1.18 does not allow constructing an array from a
slice. The copy must be done manually.

Additionally, fix an issue where a Digest is constructed before the
length is verified, which may panic.
@jhand2 jhand2 merged commit 2e4110b into chipsalliance:main Jan 4, 2024
1 check passed
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