rust/compiler/rustc_codegen_ssa
Erik Desjardins 50f6a9ed87 use unchecked mul to compute slice sizes
...since slice sizes can't signed wrap

see https://doc.rust-lang.org/std/slice/fn.from_raw_parts.html

> The total size len * mem::size_of::<T>() of the slice must be no larger than isize::MAX.
2022-06-14 17:09:07 -04:00
..
src use unchecked mul to compute slice sizes 2022-06-14 17:09:07 -04:00
Cargo.toml Fix emscripten linker invocation 2022-06-03 17:02:14 +00:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.