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

Value exceeds limit error in data.rs #97

Open
ct-clmsn opened this issue Feb 2, 2024 · 0 comments
Open

Value exceeds limit error in data.rs #97

ct-clmsn opened this issue Feb 2, 2024 · 0 comments

Comments

@ct-clmsn
Copy link

ct-clmsn commented Feb 2, 2024

I'm attempting to compile serde_json and managed to get an integer error in encoding_rs. The compilation error is below. Thanks in advance.

rustc --crate-name build_script_build --edition=2021 $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/serde_json-1.0.108/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --cfg 'feature="unbounded_depth"' -C metadata=76e87aa6da0e6b18 -C extra-filename=-76e87aa6da0e6b18 --out-dir /tmp/pip-install-80qhzsuy/maturin_056ca7e370304556aac4017d498b7958/target/release/build/serde_json-76e87aa6da0e6b18 -L dependency=/tmp/pip-install-80qhzsuy/maturin_056ca7e370304556aac4017d498b7958/target/release/deps --cap-lints allow`
        error: integer literal is too large
             --> $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/encoding_rs-0.8.33/src/data.rs:87451:5
              |
        87451 |     0x00DF, 0x00E0, 0x00E1, 0x00E2, 0x00E4, 0x00E5, 0x00E7, 0x00E8, 0x00E9, 0x00ED, 0x00EE, 0x00F1,
              |     ^^^^^^
              |
              = note: value exceeds limit of `340282366920938463463374607431768211455`
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

No branches or pull requests

1 participant