rustic_runtime 0.1.0

Runtime support library for the Rustic programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::io::{self as stdio, Write};

pub fn print(s: &str) {
    println!("{}", s);
}

pub fn eprint(s: &str) {
    eprint!("{}", s);
    stdio::stdout().flush().unwrap();
}

pub fn eprintln(s: &str) {
    eprintln!("{}", s);
}