rust/mk
Chris Morgan 0369a41f0e Rename files to match current recommendations.
New standards have arisen in recent months, mostly for the use of
rustpkg, but the main Rust codebase has not been altered to match these
new specifications. This changeset rectifies most of these issues.

- Renamed the crate source files `src/libX/X.rs` to `lib.rs`, for
  consistency with current styles; this affects extra, rustc, rustdoc,
  rustpkg, rustuv, std, syntax.

- Renamed `X/X.rs` to `X/mod.rs,` as is now recommended style, for
  `std::num` and `std::terminfo`.

- Shifted `src/libstd/str/ascii.rs` out of the otherwise unused `str`
  directory, to be consistent with its import path of `std::ascii`;
  libstd is flat at present so it's more appropriate thus.

While this removes some `#[path = "..."]` directives, it does not remove
all of them, and leaves certain other inconsistencies, such as `std::u8`
et al. which are actually stored in `src/libstd/num/` (one subdirectory
down). No quorum has been reached on this issue, so I felt it best to
leave them all alone at present. #9208 deals with the possibility of
making libstd more hierarchical (such as changing the crate to match the
current filesystem structure, which would make the module path
`std::num::u8`).

There is one thing remaining in which this repository is not
rustpkg-compliant: rustpkg would have `src/std/` et al. rather than
`src/libstd/` et al. I have not endeavoured to change that at this point
as it would guarantee prompt bitrot and confusion. A change of that
magnitude needs to be discussed first.
2013-11-03 23:49:01 +11:00
..
clean.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
ctags.mk Reliciense makefiles and testsuite. Yup. 2012-12-10 17:32:58 -08:00
dist.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
docs.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
host.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
install.mk auto merge of #10229 : brson/rust/warnings, r=thestinger 2013-11-02 00:51:12 -07:00
llvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk auto merge of #10203 : kud1ing/rust/ios, r=alexcrichton 2013-11-01 02:26:23 -07:00
pp.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
rt.mk Statically link libuv to librustuv 2013-11-02 21:28:17 -07:00
rustllvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
snap.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
stage0.mk configure: Fix passing multiple target and host triples. 2013-11-01 03:34:16 -04:00
target.mk Statically link libuv to librustuv 2013-11-02 21:28:17 -07:00
tests.mk Statically link libuv to librustuv 2013-11-02 21:28:17 -07:00
tools.mk Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00