summary refs log tree commit diff
path: root/src/librustpkg
AgeCommit message (Collapse)AuthorLines
2013-03-29Add AbiSet and integrate it into the AST.Niko Matsakis-1/+1
I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8.
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-11/+11
2013-03-28Removing unused importsAlex Crichton-6/+5
2013-03-26librustc: Enforce that `extern mod` directives come first, then `use` ↵Patrick Walton-3/+3
directives, then items. Resolve them in this order as well.
2013-03-26Fixed all use sites and testsMarvin Löbel-15/+22
2013-03-25Kill some warnings: unused imports and old #[deny(..)]s.Huon Wilson-1/+0
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-1/+1
2013-03-22libsyntax: Stop parsing `pure` and `static`Patrick Walton-1/+1
2013-03-20librustc: Remove debug code and add scary warnings for rusti/rustpkgPatrick Walton-0/+3
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-6/+7
2013-03-11librustc: Replace all uses of `fn()` with `&fn()`. rs=defunPatrick Walton-1/+1
2013-03-08Finish de-implicit-selfing everything but the test suiteBen Striegel-0/+1
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-11/+11
2013-03-06auto merge of #5252 : nikomatsakis/rust/issue-5087-make-trait-not-impl-self, ↵bors-0/+2
r=pcwalton Two changes: - The first fixes an inconsistency in coherence whereby extension methods were added to the inherent methods table, but only in cross-crate scenarios. This causes some minor fallout in tests and so forth. In one case (comm) I added inherent and trait methods so as to avoid the need to import traits like `GenericPort` just to use a port. - The second makes objects not implement the associated trait, as discussed in #5087. r? @pcwalton
2013-03-06Fix bug in coherence that causes all cross-crate impls to be regarded asNiko Matsakis-0/+2
inherent impls, not just those of the `impl Type` variety.
2013-03-06Finish de-implicit-selifizng libcoreBen Striegel-1/+1
2013-03-05core: convert vec::{last,last_opt} to return referencesErick Tryzelaar-3/+5
2013-03-04Remove unused imports throughout src/Alex Crichton-2/+0
2013-03-02librustdoc: Remove `fn@`, `fn~`, and `fn&` from compiletest, fuzzer, ↵Patrick Walton-1/+1
rustdoc, and rt. rs=defun
2013-03-02librustc: Forbid chained imports and fix the logic for one-level renaming ↵Patrick Walton-14/+14
imports
2013-03-01Merge remote-tracking branch 'remotes/origin/incoming' into incomingErick Tryzelaar-1/+2
2013-03-01librustc: "APL2" -> "ASL2". rs=license-fixPatrick Walton-1/+1
2013-02-28Fix license attribute on cratessevrak-1/+2
2013-02-25libsyntax: progress on making syntax::visit vecs_implicitly_copyable-freeErick Tryzelaar-5/+5
2013-02-22librustpkg: De-mut librustdoc and librustpkg. rs=demutingPatrick Walton-17/+18
2013-02-21Remove the last bits of structural records from tests/rustc/rusti/rustpkg.Luqman Aden-2/+0
2013-02-20Fix fallout in rusti & rustpkg.Luqman Aden-5/+5
2013-02-19convert ast::meta_items to take @~strsErick Tryzelaar-8/+8
2013-02-19convert syntax::attr to use @~strsErick Tryzelaar-2/+2
2013-02-15rustpkg: Massage for landing.Graydon Hoare-394/+127
2013-02-15rustpkg: Fix do listeners and support custom test logicZack Corr-19/+40
2013-02-15rustpkg: Add info command for probing a pkg.rs and expose work_dir/src_dir ↵Zack Corr-6/+76
in librustpkg
2013-02-15rustpkg: Use pkg.rs instead of package.rs for consistencyZack Corr-2/+2
2013-02-15Move semver to std and finish rustpkgZack Corr-9/+8
2013-02-15rustpkg: Clean up formatting issuesZack Corr-229/+240
2013-02-15rustpkg: More fixesZack Corr-9/+11
2013-02-15rustpkg: Add do command and get cmd listeners working correctlyZack Corr-25/+119
2013-02-15rustpkg: Add preliminary imperative API supportZack Corr-272/+792
2013-02-15rustpkg: Finish all commands and declarative logicZack Corr-93/+640
2013-02-15rustpkg: Finish declarative compiling and fetching via git or curl (no ↵Zack Corr-58/+356
workcache or dependency resolution yet)
2013-02-15rustpkg: Finish parsing package scripts and finish boilerplateZack Corr-28/+284
2013-02-15rustpkg: Add package script parsingZack Corr-10/+218
2013-02-15rustpkg: More preliminary workZack Corr-1/+173
2013-02-15Rename cargo to rustpkg and start over freshZack Corr-0/+31