Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. Tweak std lib vec fns in process.
This commit is contained in:
parent
23eef4da22
commit
54587bdccb
29 changed files with 278 additions and 225 deletions
|
|
@ -203,8 +203,8 @@ impure fn main(vec[str] args) {
|
|||
alt (output_file) {
|
||||
case (none[str]) {
|
||||
let vec[str] parts = _str.split(ifile, '.' as u8);
|
||||
parts = _vec.pop[str](parts);
|
||||
parts += ".bc";
|
||||
_vec.pop[str](parts);
|
||||
parts += vec(".bc");
|
||||
auto ofile = _str.concat(parts);
|
||||
compile_input(sess, env, ifile, ofile, shared,
|
||||
library_search_paths);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue