swamp_std/
print.rs

1/*
2 * Copyright (c) Peter Bjorklund. All rights reserved. https://github.com/swamp/swamp
3 * Licensed under the MIT License. See LICENSE in the project root for license information.
4 */
5use swamp_vm::host::HostArgs;
6
7pub fn print_fn(args: HostArgs) {
8    let output = args.string(1);
9    eprintln!("{output}");
10}