MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / run_println_str_entry_point

Function run_println_str_entry_point

tests/integration/cli_pipeline.rs:216–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

214}";
215 let (uart, code) = run_hll(src);
216 assert_eq!(code, 0);
217 assert_eq!(uart, "Hello, world\n");
218}
219
220#[test]
221fn run_string_slice_calls_stdlib_print() {
222 // A string literal passes directly to the slice-based stdlib entry points.
223 let src = "
224console := import(\"console\")
225
226main: () -> i32 {
227 console.print(\"Hello, \")
228 console.println(\"world\")
229 return 0
230}";
231 let (uart, code) = run_hll(src);
232 assert_eq!(code, 0);
233 assert_eq!(uart, "Hello, world\n");

Callers

nothing calls this directly

Calls 1

run_hllFunction · 0.70

Tested by

no test coverage detected