Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Upgrade Rust #24

Merged
merged 34 commits into from
Jul 31, 2014
Merged

Upgrade Rust #24

merged 34 commits into from
Jul 31, 2014

Conversation

metajack
Copy link

Merge from upstream and a small makefile change.

Manishearth and others added 30 commits June 17, 2014 19:43
Make header input names for value_from_stream case insensitive
Replaced bytes! with byte literals.
The Request is moved into handle_request
The command supplied to "build" is not actually run in a shell, so you have
to bundle your pre-build commands into a script.
This will probably break SSL_LIB/SSL_CFG stuff for existing makefiles;
if you need to, delete `Makefile` and run `configure` again.
I had made the change to my own Makefile, but forgot about Makefile.in…
Indexing &str has been removed from rust, instead we have to treat the
string as &[u8] using as_bytes() and index into that array.
Avoid indexing &str to be compatible with current rust master
This is with:

rustc 0.11.0-nightly (1c711db551b9a5e56ba76e002e287dcfbb2cff3c 2014-07-09 00:36:40 +0000)

I assume it's going to be a breaking change, so here it is.
Nightlies have changed to_str -> to_string
Hygiene means that `include!` is practically useless now.
The new approach is just writing out a full module and passing the
stream to a function in it.
SimonSapin added a commit that referenced this pull request Jul 31, 2014
@SimonSapin SimonSapin merged commit 949f719 into servo Jul 31, 2014
@SimonSapin SimonSapin deleted the rustup-20140716 branch July 31, 2014 16:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants