Fix librustc_llvm

This commit is contained in:
Steven Fackler 2014-09-28 23:39:08 -07:00 committed by Steven Fackler
parent 99e2bb79b6
commit c4e0755245

View File

@ -67,7 +67,7 @@ for llconfig in sys.argv[4:]:
"target_os = \"" + os + "\"",
]
f.write("#[cfg(" + ', '.join(cfg) + ")]\n")
f.write("#[cfg(all(" + ', '.join(cfg) + "))]\n")
version = run([llconfig, '--version']).strip()