Implement printing of int8/uint8/pointers

This commit is contained in:
Ayke van Laethem
2018-06-03 16:39:24 +02:00
parent e171f32493
commit 320c583221
3 changed files with 80 additions and 6 deletions
+3
View File
@@ -3,6 +3,9 @@ package runtime
const Compiler = "tgo"
// The bitness of the CPU (e.g. 8, 32, 64). Set by the compiler as a constant.
var TargetBits uint8
func _panic(message interface{}) {
printstring("panic: ")
printitf(message)