summary refs log tree commit diff
path: root/src/etc/make-win-dist.py
AgeCommit message (Collapse)AuthorLines
2015-02-01std: Add a new `env` moduleAlex Crichton-0/+1
This is an implementation of [RFC 578][rfc] which adds a new `std::env` module to replace most of the functionality in the current `std::os` module. More details can be found in the RFC itself, but as a summary the following methods have all been deprecated: [rfc]: https://github.com/rust-lang/rfcs/pull/578 * `os::args_as_bytes` => `env::args` * `os::args` => `env::args` * `os::consts` => `env::consts` * `os::dll_filename` => no replacement, use `env::consts` directly * `os::page_size` => `env::page_size` * `os::make_absolute` => use `env::current_dir` + `join` instead * `os::getcwd` => `env::current_dir` * `os::change_dir` => `env::set_current_dir` * `os::homedir` => `env::home_dir` * `os::tmpdir` => `env::temp_dir` * `os::join_paths` => `env::join_paths` * `os::split_paths` => `env::split_paths` * `os::self_exe_name` => `env::current_exe` * `os::self_exe_path` => use `env::current_exe` + `pop` * `os::set_exit_status` => `env::set_exit_status` * `os::get_exit_status` => `env::get_exit_status` * `os::env` => `env::vars` * `os::env_as_bytes` => `env::vars` * `os::getenv` => `env::var` or `env::var_string` * `os::getenv_as_bytes` => `env::var` * `os::setenv` => `env::set_var` * `os::unsetenv` => `env::remove_var` Many function signatures have also been tweaked for various purposes, but the main changes were: * `Vec`-returning APIs now all return iterators instead * All APIs are now centered around `OsString` instead of `Vec<u8>` or `String`. There is currently on convenience API, `env::var_string`, which can be used to get the value of an environment variable as a unicode `String`. All old APIs are `#[deprecated]` in-place and will remain for some time to allow for migrations. The semantics of the APIs have been tweaked slightly with regard to dealing with invalid unicode (panic instead of replacement). The new `std::env` module is all contained within the `env` feature, so crates must add the following to access the new APIs: #![feature(env)] [breaking-change]
2015-01-27Fix PEP8 in make-win-distRicho Healey-2/+7
2014-12-29mk: Package mingw components in unix installer on windowsBrian Anderson-6/+0
This puts stdc++ and the unwinding dll into the main package and creates a separate rust-mingw package for everything else.
2014-12-15Fixed a small spelling mistakeJacob Edelman-1/+1
2014-12-06- Support gcc-less installation on Windows. To do so in unattended mode ↵Vadim Chugunov-6/+12
run:`<intaller>.exe /TYPE=compact /SILENT`. - Do not require admin privileges to install.
2014-11-13etc: Don't bundle libctl3d32 on windowsAlex Crichton-1/+0
Apparently it's not found on win64! Closes #18928
2014-11-08Include some of the more popular Windows import libs into the bundle.Vadim Chugunov-5/+42
2014-11-08Move gcc back to rustlib\<triple>\binVadim Chugunov-3/+3
2014-09-20Move bundled gcc and its libs out into $rust/rustlib/<triple>/gcc/(bin|lib). ↵Vadim Chugunov-3/+3
This way the libs won't be on the -L library search path, and won't confuse external gcc, if one is used. The bundled gcc itself will still be able to find them, because it searches for libs relative to own install location.
2014-09-11Package rustc's mingw dependencies into Windows installer.Vadim Chugunov-0/+82
gcc, ld, ar, dlltool, windres go into $(RUST)/bin/rustlib/<triple>/bin/ platform libraries and startup objects got into $(RUST)/bin/rustlib/<triple>/lib/