summaryrefslogtreecommitdiff
path: root/mbld/opts.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-06-12 12:46:50 -0400
committerOri Bernstein <ori@eigenstate.org>2015-06-12 14:01:54 -0400
commit21b91ad9fa7ae830272dc67fbe3150dc30921702 (patch)
treea674ea3e28f90ba8fa2f4521069a010b4742961e /mbld/opts.myr
parent96c8217e913d8d6de22bbb1aa3624c26e66838fc (diff)
downloadmc-21b91ad9fa7ae830272dc67fbe3150dc30921702.tar.gz
Move fmt to fmt2.
Shit seems to work.
Diffstat (limited to 'mbld/opts.myr')
-rw-r--r--mbld/opts.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbld/opts.myr b/mbld/opts.myr
index 7c4f0f2..0fd4465 100644
--- a/mbld/opts.myr
+++ b/mbld/opts.myr
@@ -56,13 +56,13 @@ const initopts = {
| "Darwin": opt_sys = "osx"
| "FreeBSD": opt_sys = "freebsd"
| "Plan9": opt_sys = "plan9"
- | unknown: std.fatal("unknown system \"%s\"\n", unknown)
+ | unknown: std.fatal("unknown system \"{}\"\n", unknown)
;;
match si.arch
| "x86_64": opt_arch = "x64"
| "amd64": opt_arch = "x64"
- | unknown: std.fatal("unknown architecture \"%s\"\n", unknown)
+ | unknown: std.fatal("unknown architecture \"{}\"\n", unknown)
;;
opt_incpaths = [][:]
@@ -76,8 +76,8 @@ const initopts = {
opt_runtime = std.pathjoin([opt_instroot, config.Libpath, config.Runtime][:])
;;
- sysarchstr = std.fmt("+%s-%s", opt_sys, opt_arch)
- sysstr = std.fmt("+%s", opt_sys)
- archstr = std.fmt("+%s", opt_arch)
+ sysarchstr = std.fmt("+{}-{}", opt_sys, opt_arch)
+ sysstr = std.fmt("+{}", opt_sys)
+ archstr = std.fmt("+{}", opt_arch)
}