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

Doesn't build on i386 (untyped int constant) #2801

Closed
nunotexbsd opened this issue Nov 3, 2022 · 1 comment
Closed

Doesn't build on i386 (untyped int constant) #2801

nunotexbsd opened this issue Nov 3, 2022 · 1 comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@nunotexbsd
Copy link

Nuclei version:

2.7.8 (go 1.19.3)

Current Behavior:

Doesn't build on i386 arch:

# github.com/projectdiscovery/nuclei/v2/pkg/utils/ratelimit
pkg/utils/ratelimit/ratelimit.go:59:13: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in struct literal (overflows)
pkg/utils/ratelimit/ratelimit.go:60:13: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in struct literal (overflows)
(...)
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/protocolinit
github.com/projectdiscovery/nuclei/v2/pkg/protocols/common/variables
github.com/projectdiscovery/nuclei/v2/pkg/protocols/headless/engine
*** Error code 2

Expected Behavior:

2.7.7 builds fine, I was expecting it build too on 2.7.8

@nunotexbsd nunotexbsd added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Nov 3, 2022
@ehsandeep
Copy link
Member

@nunotexbsd thanks for flagging, looks duplicate of #2747 and will be fixed as part of projectdiscovery/ratelimit#4

@ehsandeep ehsandeep closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants