| commit | 1390b65a1b93f75cdd4165f190b4a95b93add66e | [log] [tgz] |
|---|---|---|
| author | Tom de Vries <tdevries@suse.de> | Sat Jun 04 13:17:33 2022 +0200 |
| committer | Tom de Vries <tdevries@suse.de> | Sat Jun 04 13:17:33 2022 +0200 |
| tree | 8a9a65061da32d5197e37ec32f2338d74e3aab16 | |
| parent | 7af9baa9faead8155e4459104c30cb1b6a15180e [diff] |
[gdb/rust] Fix literal truncation Make sure we error out on overflow instead of truncating in all cases. I've used as overflow string: "Integer literal is too large", based on what I found at <rust-lang/rust>/src/test/ui/parser/int-literal-too-large-span.rs but perhaps someone has a better idea. Tested on x86_64-linux, with a build with --enable-targets=all.