alloc-fmt 0.2.0

Formatting utilities safe for use in an allocator.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2017 the authors. See the 'Copyright and license' section of the
// README.md file at the top-level directory of this repository.
//
// Licensed under the Apache License, Version 2.0 (the LICENSE-APACHE file) or
// the MIT license (the LICENSE-MIT file) at your option. This file may not be
// copied, modified, or distributed except according to those terms.

#[macro_use]
extern crate alloc_fmt;

fn main() {
    alloc_print!("alloc_print\n");
    alloc_println!("alloc_println");
    alloc_eprint!("alloc_eprint\n");
    alloc_eprintln!("alloc_eprintln");
}