1 // Copyright 2022 The Chromium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 hello_world()5pub fn hello_world() { 6 println!("hello world"); 7 } 8 add(a: u32, b: u32) -> u329pub fn add(a: u32, b: u32) -> u32 { 10 a + b 11 } 12