1. 28 9月, 2013 1 次提交
  2. 25 9月, 2013 1 次提交
    • B
      Don't use libc::exit. #9473 · 6d038973
      Brian Anderson 提交于
      This can cause unexpected errors in the runtime when done while
      scheduler threads are still initializing. Required some restructuring
      of the main_args functions in our libraries.
      6d038973
  3. 24 9月, 2013 1 次提交
  4. 22 9月, 2013 1 次提交
  5. 19 9月, 2013 3 次提交
  6. 18 9月, 2013 1 次提交
  7. 13 9月, 2013 2 次提交
  8. 11 9月, 2013 1 次提交
    • T
      rustpkg: Pass command-line arguments to rustc · ad436133
      Tim Chevalier 提交于
      rustpkg now accepts most of rustc's command-line arguments and passes
      them along to rustc when building or installing.
      
      A few rarely-used arguments aren't implemented yet.
      
      rustpkg doesn't support flags that don't make sense with rustpkg
      (for example, --bin and --lib, which get inferred from crate file names).
      
      Closes #8522
      ad436133
  9. 09 9月, 2013 2 次提交
  10. 05 9月, 2013 1 次提交
  11. 31 8月, 2013 1 次提交
    • T
      rustpkg: Allow package directories to appear in the RUST_PATH · 98e470ad
      Tim Chevalier 提交于
      This commit adds a rustpkg flag, --rust-path-hack, that allows
      rustpkg to *search* inside package directories if they appear in
      the RUST_PATH, while *building* libraries and executables into a
      different target directory.
      
      This behavior is hidden behind a flag because I believe we only
      want to support it temporarily, to make it easier to port servo to
      rustpkg.
      
      This commit also includes a fix for how rustpkg fetches sources
      from git repositories -- it uses a temporary directory as the target
      when invoking `git clone`, then moves that directory into the workspace
      if the clone was successful. (The old behavior was that when the
      `git clone` failed, the empty target directory would be left lying
      around anyway.)
      98e470ad
  12. 28 8月, 2013 1 次提交
    • K
      Handle `rustpkg build`, etc. when given no args properly · eafa63f7
      Kevin Ballard 提交于
      `rustpkg build` et al were only checking one directory up to see if it
      was in a dir named "src". Ditch that entirely and instead check if the
      cwd is descended from any of the workspace paths. Besides being more
      intelligent about whether or not something is a workspace, this also
      allows for package ids composed of multiple path components.
      eafa63f7
  13. 27 8月, 2013 2 次提交
  14. 23 8月, 2013 1 次提交
  15. 20 8月, 2013 1 次提交
    • T
      rustpkg: Un-ignore most of the remaining tests · d9293d1d
      Tim Chevalier 提交于
      This necessitated some cleanup to how we parse library filenames
      when searching for libraries, since rustpkg may now create filenames
      that contain '-' characters. Also cleaned up how rustpkg passes the
      sysroot to a custom build script.
      d9293d1d
  16. 14 8月, 2013 1 次提交
  17. 10 8月, 2013 3 次提交
  18. 06 8月, 2013 1 次提交
    • M
      Updated std::Option, std::Either and std::Result · 0ac7a219
      Marvin Löbel 提交于
      - Made naming schemes consistent between Option, Result and Either
      - Changed Options Add implementation to work like the maybe monad (return None if any of the inputs is None)
      - Removed duplicate Option::get and renamed all related functions to use the term `unwrap` instead
      0ac7a219
  19. 04 8月, 2013 1 次提交
  20. 03 8月, 2013 1 次提交
  21. 01 8月, 2013 1 次提交
  22. 27 7月, 2013 1 次提交
  23. 22 7月, 2013 1 次提交
  24. 19 7月, 2013 1 次提交
    • T
      rustpkg: Make rustpkg commands work without a package ID · e39ea2a5
      Tim Chevalier 提交于
      `rustpkg build`, if executed in a package source directory inside
      a workspace, will now build that package. By "inside a workspace"
      I mean that the parent directory has to be called `src`, and rustpkg
      will create a `build` directory in .. if there isn't already one.
      
      Same goes for `rustpkg install` and `rustpkg clean`.
      
      For the time being, `rustpkg build` (etc.) will still error out if
      you run it inside a directory whose parent isn't called `src`.
      I'm not sure whether or not it's desirable to have it do something
      in a non-workspace directory.
      e39ea2a5
  25. 18 7月, 2013 1 次提交
  26. 16 7月, 2013 1 次提交
    • T
      rustpkg: Handle local git repositories · 0fa9ad86
      Tim Chevalier 提交于
      rustpkg can now build code from a local git repository. In the
      case where the local repo is in a directory not in the RUST_PATH,
      it checks out the repository into a directory in the first workspace
      in the RUST_PATH.
      
      The tests no longer try to connect to github.com, which should
      solve some of the sporadic failures we've been seeing.
      0fa9ad86
  27. 14 7月, 2013 1 次提交
  28. 09 7月, 2013 1 次提交
  29. 01 7月, 2013 2 次提交
  30. 29 6月, 2013 1 次提交
  31. 28 6月, 2013 2 次提交