Open dcci opened 2 weeks ago
Code:
#![no_main] #[no_mangle] pub fn f(a: i32) -> i32 { a + a } #[no_mangle] pub fn g(a: [i32; 5]) -> i32 { let mut sum = 0; let arr = [1, 2, 3, 4, 5]; for i in a.iter().chain(arr.iter()) { sum += i; } sum }
Link: https://godbolt.org/z/14KM5KnPx
Following prio triage discussions: @rustbot label -I-prioritize +P-low
Code:
Link: https://godbolt.org/z/14KM5KnPx