<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/run-pass/cci_no_inline_exe.rs, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-09-06T11:00:26+00:00</updated>
<entry>
<title>Migrated slew of run-pass tests to various subdirectories of `ui/run-pass/`.</title>
<updated>2018-09-06T11:00:26+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2018-08-30T11:16:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7834c2284801766f9925576e8f4d05d7cb7b23dd'/>
<id>urn:sha1:7834c2284801766f9925576e8f4d05d7cb7b23dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Changed most vec! invocations to use square braces</title>
<updated>2016-10-31T22:51:40+00:00</updated>
<author>
<name>iirelu</name>
<email>anna@bawk.space</email>
</author>
<published>2016-10-29T21:54:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e593c3b89343a98bdcc76ce9f5869ff18882dfff'/>
<id>urn:sha1:e593c3b89343a98bdcc76ce9f5869ff18882dfff</id>
<content type='text'>
Most of the Rust community agrees that the vec! macro is clearer when
called using square brackets [] instead of regular brackets (). Most of
these ocurrences are from before macros allowed using different types of
brackets.

There is one left unchanged in a pretty-print test, as the pretty
printer still wants it to have regular brackets.
</content>
</entry>
<entry>
<title>Remove integer suffixes where the types in compiled code are identical.</title>
<updated>2015-03-05T07:08:33+00:00</updated>
<author>
<name>Eduard Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2015-03-03T08:42:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e64670888a2839ba75237b1934c440c4c319b1bb'/>
<id>urn:sha1:e64670888a2839ba75237b1934c440c4c319b1bb</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update suffixes en masse in tests using `perl -p -i -e`</title>
<updated>2015-02-18T14:10:10+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2015-02-18T10:42:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=72eb214ee473e7fbb8fb27ba10d6e43d02bb633b'/>
<id>urn:sha1:72eb214ee473e7fbb8fb27ba10d6e43d02bb633b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove check-fast. Closes #4193, #8844, #6330, #7416</title>
<updated>2014-04-06T22:55:43+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2014-02-15T03:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=072a920503466e5631e77d3baa8970be253bc768'/>
<id>urn:sha1:072a920503466e5631e77d3baa8970be253bc768</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Automatically remove all `~[T]` from tests.</title>
<updated>2014-03-21T12:37:21+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2014-03-05T22:02:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=579eb2400b3cb5d9cf03a5c8792d63630489193a'/>
<id>urn:sha1:579eb2400b3cb5d9cf03a5c8792d63630489193a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>log: Introduce liblog, the old std::logging</title>
<updated>2014-03-16T05:26:36+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-03-09T06:11:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cc6ec8df95fbd8163b7c2c6c34469fb96b704e66'/>
<id>urn:sha1:cc6ec8df95fbd8163b7c2c6c34469fb96b704e66</id>
<content type='text'>
This commit moves all logging out of the standard library into an external
crate. This crate is the new crate which is responsible for all logging macros
and logging implementation. A few reasons for this change are:

* The crate map has always been a bit of a code smell among rust programs. It
  has difficulty being loaded on almost all platforms, and it's used almost
  exclusively for logging and only logging. Removing the crate map is one of the
  end goals of this movement.

* The compiler has a fair bit of special support for logging. It has the
  __log_level() expression as well as generating a global word per module
  specifying the log level. This is unfairly favoring the built-in logging
  system, and is much better done purely in libraries instead of the compiler
  itself.

* Initialization of logging is much easier to do if there is no reliance on a
  magical crate map being available to set module log levels.

* If the logging library can be written outside of the standard library, there's
  no reason that it shouldn't be. It's likely that we're not going to build the
  highest quality logging library of all time, so third-party libraries should
  be able to provide just as high-quality logging systems as the default one
  provided in the rust distribution.

With a migration such as this, the change does not come for free. There are some
subtle changes in the behavior of liblog vs the previous logging macros:

* The core change of this migration is that there is no longer a physical
  log-level per module. This concept is still emulated (it is quite useful), but
  there is now only a global log level, not a local one. This global log level
  is a reflection of the maximum of all log levels specified. The previously
  generated logging code looked like:

    if specified_level &lt;= __module_log_level() {
        println!(...)
    }

  The newly generated code looks like:

    if specified_level &lt;= ::log::LOG_LEVEL {
        if ::log::module_enabled(module_path!()) {
            println!(...)
        }
    }

  Notably, the first layer of checking is still intended to be "super fast" in
  that it's just a load of a global word and a compare. The second layer of
  checking is executed to determine if the current module does indeed have
  logging turned on.

  This means that if any module has a debug log level turned on, all modules
  with debug log levels get a little bit slower (they all do more expensive
  dynamic checks to determine if they're turned on or not).

  Semantically, this migration brings no change in this respect, but
  runtime-wise, this will have a perf impact on some code.

* A `RUST_LOG=::help` directive will no longer print out a list of all modules
  that can be logged. This is because the crate map will no longer specify the
  log levels of all modules, so the list of modules is not known. Additionally,
  warnings can no longer be provided if a malformed logging directive was
  supplied.

The new "hello world" for logging looks like:

    #[phase(syntax, link)]
    extern crate log;

    fn main() {
        debug!("Hello, world!");
    }
</content>
</entry>
<entry>
<title>extern mod =&gt; extern crate</title>
<updated>2014-02-15T06:55:21+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2014-02-14T18:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a41b0c25295e06b8eebc4bdcb3021354f766cba0'/>
<id>urn:sha1:a41b0c25295e06b8eebc4bdcb3021354f766cba0</id>
<content type='text'>
This was previously implemented, and it just needed a snapshot to go through
</content>
</entry>
<entry>
<title>Change `xfail` directives in compiletests to `ignore`, closes #11363</title>
<updated>2014-02-11T17:23:20+00:00</updated>
<author>
<name>Florian Hahn</name>
<email>flo@fhahn.com</email>
</author>
<published>2014-02-07T19:08:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f62460c1f54a693cd046513ef6776bb3551c929d'/>
<id>urn:sha1:f62460c1f54a693cd046513ef6776bb3551c929d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>test: Remove non-procedure uses of `do` from compiletest, libstd tests,</title>
<updated>2013-11-26T16:25:27+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-11-22T01:23:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f571e46ddb696d15a8cc912309714ca74f23dcc4'/>
<id>urn:sha1:f571e46ddb696d15a8cc912309714ca74f23dcc4</id>
<content type='text'>
compile-fail tests, run-fail tests, and run-pass tests.
</content>
</entry>
</feed>
