]> git.lizzy.rs Git - rust.git/log
rust.git
5 years agoRename examples directory to example to prevent rls trying to compile its content
bjorn3 [Sat, 22 Sep 2018 10:15:56 +0000 (12:15 +0200)]
Rename examples directory to example to prevent rls trying to compile its content

5 years agoPatch faerie for Mach-O support
bjorn3 [Sat, 22 Sep 2018 09:14:45 +0000 (11:14 +0200)]
Patch faerie for Mach-O support

5 years agoRustup to rustc 1.30.0-nightly (63c75d375 2018-09-21)
bjorn3 [Sat, 22 Sep 2018 09:12:25 +0000 (11:12 +0200)]
Rustup to rustc 1.30.0-nightly (63c75d375 2018-09-21)

5 years agoUpdate Cargo.lock
bjorn3 [Thu, 20 Sep 2018 16:22:23 +0000 (18:22 +0200)]
Update Cargo.lock

5 years agoRustup to rustc 1.30.0-nightly (20dc0c507 2018-09-19)
bjorn3 [Thu, 20 Sep 2018 16:20:04 +0000 (18:20 +0200)]
Rustup to rustc 1.30.0-nightly (20dc0c507 2018-09-19)

5 years agoUpdate Cargo.lock
bjorn3 [Tue, 18 Sep 2018 17:51:36 +0000 (19:51 +0200)]
Update Cargo.lock

5 years agoReplace an unimplemented! with a bug!
bjorn3 [Tue, 18 Sep 2018 16:46:17 +0000 (18:46 +0200)]
Replace an unimplemented! with a bug!

5 years agoImprove prepare_libcore.sh
bjorn3 [Tue, 18 Sep 2018 16:41:41 +0000 (18:41 +0200)]
Improve prepare_libcore.sh

5 years agoRustup to rustc 1.30.0-nightly (cb6d2dfa8 2018-09-16)
bjorn3 [Mon, 17 Sep 2018 16:49:10 +0000 (18:49 +0200)]
Rustup to rustc 1.30.0-nightly (cb6d2dfa8 2018-09-16)

5 years agoBetter error message for unsupported "C" abi args
bjorn3 [Sun, 16 Sep 2018 16:46:19 +0000 (18:46 +0200)]
Better error message for unsupported "C" abi args

5 years agoRemove some code
bjorn3 [Sun, 16 Sep 2018 15:48:13 +0000 (17:48 +0200)]
Remove some code

5 years agoImplement function reference in static
bjorn3 [Sun, 16 Sep 2018 14:21:07 +0000 (16:21 +0200)]
Implement function reference in static

5 years agoImplement some atomic intrinsics in a non atomic version
bjorn3 [Sun, 16 Sep 2018 14:00:34 +0000 (16:00 +0200)]
Implement some atomic intrinsics in a non atomic version

5 years agoImplement place_field for unsized places
bjorn3 [Sun, 16 Sep 2018 13:28:27 +0000 (15:28 +0200)]
Implement place_field for unsized places

5 years agoImplement returning `!` for "C" abi
bjorn3 [Sun, 16 Sep 2018 12:59:49 +0000 (14:59 +0200)]
Implement returning `!` for "C" abi

5 years agoFix unsize coerce for structs containing `PhantomData` like `Unique`
bjorn3 [Sun, 16 Sep 2018 12:49:45 +0000 (14:49 +0200)]
Fix unsize coerce for structs containing `PhantomData` like `Unique`

5 years agoImplement unsize of adt's (cc #14)
bjorn3 [Sun, 16 Sep 2018 09:57:27 +0000 (11:57 +0200)]
Implement unsize of adt's (cc #14)

5 years agoUpdate Cargo.lock
bjorn3 [Sun, 16 Sep 2018 09:23:44 +0000 (11:23 +0200)]
Update Cargo.lock

5 years agoImplement intrinsic min_align_of_val
bjorn3 [Sat, 15 Sep 2018 09:14:27 +0000 (11:14 +0200)]
Implement intrinsic min_align_of_val

5 years agoRustup to rustc 1.30.0-nightly (2ab3eba30 2018-09-14)
bjorn3 [Sat, 15 Sep 2018 08:44:23 +0000 (10:44 +0200)]
Rustup to rustc 1.30.0-nightly (2ab3eba30 2018-09-14)

5 years agoImplement some intrinsics and fix a codegen error
bjorn3 [Fri, 14 Sep 2018 17:49:33 +0000 (19:49 +0200)]
Implement some intrinsics and fix a codegen error

* intrinsic size_of_val for sized types
* intrinsic needs_drop
* incorrect codegen for UnOp::Not for bools

5 years agoMerge pull request #40 from bjorn3/dependabot/cargo/cranelift-9787326
dependabot[bot] [Fri, 14 Sep 2018 17:06:19 +0000 (17:06 +0000)]
Merge pull request #40 from bjorn3/dependabot/cargo/cranelift-9787326

5 years agoBump cranelift from `a698c50` to `9787326`
dependabot[bot] [Fri, 14 Sep 2018 06:13:33 +0000 (06:13 +0000)]
Bump cranelift from `a698c50` to `9787326`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `a698c50` to `9787326`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/a698c50f96a1833137b68c6e69d4de8c09004ab3...9787326c89e5a823484f8bf61d14d09f45433011)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoMerge pull request #36 from bjorn3/dependabot/cargo/cranelift-faerie-a698c50
dependabot[bot] [Thu, 13 Sep 2018 06:47:58 +0000 (06:47 +0000)]
Merge pull request #36 from bjorn3/dependabot/cargo/cranelift-faerie-a698c50

5 years agoBump cranelift-faerie from `d50e73a` to `a698c50`
dependabot[bot] [Thu, 13 Sep 2018 06:37:56 +0000 (06:37 +0000)]
Bump cranelift-faerie from `d50e73a` to `a698c50`

Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `d50e73a` to `a698c50`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/d50e73af77824b9fe0aee752a2ffa8fc45e78538...a698c50f96a1833137b68c6e69d4de8c09004ab3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoMerge pull request #33 from bjorn3/dependabot/cargo/cranelift-a698c50
dependabot[bot] [Thu, 13 Sep 2018 06:07:29 +0000 (06:07 +0000)]
Merge pull request #33 from bjorn3/dependabot/cargo/cranelift-a698c50

5 years agoBump cranelift from `d50e73a` to `a698c50`
dependabot[bot] [Thu, 13 Sep 2018 05:56:28 +0000 (05:56 +0000)]
Bump cranelift from `d50e73a` to `a698c50`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `d50e73a` to `a698c50`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/d50e73af77824b9fe0aee752a2ffa8fc45e78538...a698c50f96a1833137b68c6e69d4de8c09004ab3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoImplement drop support (fixes #11)
bjorn3 [Tue, 11 Sep 2018 17:27:57 +0000 (19:27 +0200)]
Implement drop support (fixes #11)

5 years agoMerge pull request #29 from bjorn3/dependabot/cargo/cranelift-d50e73a
dependabot[bot] [Wed, 12 Sep 2018 12:31:19 +0000 (12:31 +0000)]
Merge pull request #29 from bjorn3/dependabot/cargo/cranelift-d50e73a

5 years agoBump cranelift from `078b07b` to `d50e73a`
dependabot[bot] [Wed, 12 Sep 2018 12:20:38 +0000 (12:20 +0000)]
Bump cranelift from `078b07b` to `d50e73a`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `078b07b` to `d50e73a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/078b07b86d60eeaef6606a93da9ffb22d509d2ba...d50e73af77824b9fe0aee752a2ffa8fc45e78538)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoRustup to rustc 1.30.0-nightly (2f1547c0a 2018-09-11)
bjorn3 [Wed, 12 Sep 2018 12:16:28 +0000 (14:16 +0200)]
Rustup to rustc 1.30.0-nightly (2f1547c0a 2018-09-11)

5 years agoRustfmt
bjorn3 [Tue, 11 Sep 2018 17:28:13 +0000 (19:28 +0200)]
Rustfmt

5 years agoMerge pull request #26 from bjorn3/dependabot/cargo/cranelift-simplejit-078b07b
dependabot[bot] [Tue, 11 Sep 2018 06:09:55 +0000 (06:09 +0000)]
Merge pull request #26 from bjorn3/dependabot/cargo/cranelift-simplejit-078b07b

5 years agoBump cranelift-simplejit from `5b2af58` to `078b07b`
dependabot[bot] [Tue, 11 Sep 2018 06:00:47 +0000 (06:00 +0000)]
Bump cranelift-simplejit from `5b2af58` to `078b07b`

Bumps [cranelift-simplejit](https://github.com/CraneStation/cranelift) from `5b2af58` to `078b07b`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/5b2af5841f19f003e2d8e972154f8b40ba433170...078b07b86d60eeaef6606a93da9ffb22d509d2ba)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoFix jit
bjorn3 [Sun, 9 Sep 2018 12:45:23 +0000 (14:45 +0200)]
Fix jit

5 years agoImplement trait objects (cc #14)
bjorn3 [Sat, 8 Sep 2018 16:00:06 +0000 (18:00 +0200)]
Implement trait objects (cc #14)

5 years agoRustfmt
bjorn3 [Sat, 8 Sep 2018 15:24:52 +0000 (17:24 +0200)]
Rustfmt

5 years agoDon't use write_mir_pretty for non local mir
bjorn3 [Sat, 8 Sep 2018 15:23:03 +0000 (17:23 +0200)]
Don't use write_mir_pretty for non local mir

5 years agoDon't require abi of defined function to be rust or rust-call
bjorn3 [Sat, 8 Sep 2018 12:44:32 +0000 (14:44 +0200)]
Don't require abi of defined function to be rust or rust-call

5 years agoDon't call seal_all_blocks and finalize twice
bjorn3 [Sat, 8 Sep 2018 12:17:42 +0000 (14:17 +0200)]
Don't call seal_all_blocks and finalize twice

5 years agoMisc changes to abi.rs
bjorn3 [Sat, 8 Sep 2018 09:20:15 +0000 (11:20 +0200)]
Misc changes to abi.rs

5 years agoRustup to rustc 1.30.0-nightly (fc81e3624 2018-09-07)
bjorn3 [Sat, 8 Sep 2018 09:11:46 +0000 (11:11 +0200)]
Rustup to rustc 1.30.0-nightly (fc81e3624 2018-09-07)

5 years agoMerge pull request #24 from bjorn3/dependabot/cargo/cranelift-5b2af58
dependabot[bot] [Fri, 7 Sep 2018 06:33:27 +0000 (06:33 +0000)]
Merge pull request #24 from bjorn3/dependabot/cargo/cranelift-5b2af58

5 years agoBump cranelift from `083d1e8` to `5b2af58`
dependabot[bot] [Fri, 7 Sep 2018 06:14:27 +0000 (06:14 +0000)]
Bump cranelift from `083d1e8` to `5b2af58`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `083d1e8` to `5b2af58`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/083d1e83f104f12093313582a56538a3506afb1f...5b2af5841f19f003e2d8e972154f8b40ba433170)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoImplement intrinsic size_of_val for slices
bjorn3 [Thu, 6 Sep 2018 16:45:29 +0000 (18:45 +0200)]
Implement intrinsic size_of_val for slices

5 years agoDon't print Storage{Live,Dead} as comment in debug clif
bjorn3 [Wed, 5 Sep 2018 18:04:21 +0000 (20:04 +0200)]
Don't print Storage{Live,Dead} as comment in debug clif

5 years agoMerge pull request #18 from bjorn3/dependabot/cargo/cranelift-faerie-083d1e8
dependabot[bot] [Thu, 6 Sep 2018 15:36:29 +0000 (15:36 +0000)]
Merge pull request #18 from bjorn3/dependabot/cargo/cranelift-faerie-083d1e8

5 years agoMerge pull request #19 from bjorn3/dependabot/cargo/cranelift-simplejit-083d1e8
dependabot[bot] [Thu, 6 Sep 2018 15:36:03 +0000 (15:36 +0000)]
Merge pull request #19 from bjorn3/dependabot/cargo/cranelift-simplejit-083d1e8

5 years agoMerge pull request #20 from bjorn3/dependabot/cargo/cranelift-083d1e8
bjorn3 [Thu, 6 Sep 2018 15:35:28 +0000 (17:35 +0200)]
Merge pull request #20 from bjorn3/dependabot/cargo/cranelift-083d1e8

Bump cranelift from `9ca7853` to `083d1e8`

5 years agoBump cranelift from `9ca7853` to `083d1e8`
dependabot[bot] [Thu, 6 Sep 2018 07:02:00 +0000 (07:02 +0000)]
Bump cranelift from `9ca7853` to `083d1e8`

Bumps [cranelift](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/9ca7853842335032103fa1daba823fe22975215d...083d1e83f104f12093313582a56538a3506afb1f)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoBump cranelift-simplejit from `9ca7853` to `083d1e8`
dependabot[bot] [Thu, 6 Sep 2018 07:01:51 +0000 (07:01 +0000)]
Bump cranelift-simplejit from `9ca7853` to `083d1e8`

Bumps [cranelift-simplejit](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/9ca7853842335032103fa1daba823fe22975215d...083d1e83f104f12093313582a56538a3506afb1f)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoBump cranelift-faerie from `9ca7853` to `083d1e8`
dependabot[bot] [Thu, 6 Sep 2018 07:01:46 +0000 (07:01 +0000)]
Bump cranelift-faerie from `9ca7853` to `083d1e8`

Bumps [cranelift-faerie](https://github.com/CraneStation/cranelift) from `9ca7853` to `083d1e8`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](https://github.com/CraneStation/cranelift/compare/9ca7853842335032103fa1daba823fe22975215d...083d1e83f104f12093313582a56538a3506afb1f)

Signed-off-by: dependabot[bot] <support@dependabot.com>
5 years agoUpdate Cargo.lock
bjorn3 [Wed, 5 Sep 2018 17:43:42 +0000 (19:43 +0200)]
Update Cargo.lock

5 years agoImplement Box rvalue
bjorn3 [Tue, 4 Sep 2018 17:04:25 +0000 (19:04 +0200)]
Implement Box rvalue

5 years agoRustup to rustc 1.30.0-nightly (0f063aef6 2018-09-03)
bjorn3 [Tue, 4 Sep 2018 16:26:49 +0000 (18:26 +0200)]
Rustup to rustc 1.30.0-nightly (0f063aef6 2018-09-03)

5 years agoFix build.sh
bjorn3 [Mon, 3 Sep 2018 16:29:55 +0000 (18:29 +0200)]
Fix build.sh

5 years ago[PATCH] Disable all trait object unsizing
bjorn3 [Sun, 2 Sep 2018 16:50:39 +0000 (18:50 +0200)]
[PATCH] Disable all trait object unsizing

5 years agoImprove build.sh
bjorn3 [Fri, 31 Aug 2018 17:50:26 +0000 (19:50 +0200)]
Improve build.sh

5 years agoReplace infinite loop in mini_core::panic with intrinsic::abort
bjorn3 [Sun, 2 Sep 2018 13:22:04 +0000 (15:22 +0200)]
Replace infinite loop in mini_core::panic with intrinsic::abort

5 years agoPerform some optimizations
bjorn3 [Fri, 31 Aug 2018 17:50:26 +0000 (19:50 +0200)]
Perform some optimizations

5 years agoRustup to rustc 1.30.0-nightly (28bcffead 2018-09-01)
bjorn3 [Sun, 2 Sep 2018 08:57:29 +0000 (10:57 +0200)]
Rustup to rustc 1.30.0-nightly (28bcffead 2018-09-01)

5 years agoUpdate patch 0004 to latest libcore
bjorn3 [Thu, 30 Aug 2018 18:48:42 +0000 (20:48 +0200)]
Update patch 0004 to latest libcore

5 years agoMerge branch 'wip_unsized_types'
bjorn3 [Thu, 30 Aug 2018 18:27:26 +0000 (20:27 +0200)]
Merge branch 'wip_unsized_types'

cc #14

5 years agoImplement indexing for slices
bjorn3 [Sat, 25 Aug 2018 09:22:48 +0000 (11:22 +0200)]
Implement indexing for slices

5 years agoRvalue::Len
bjorn3 [Wed, 22 Aug 2018 15:58:25 +0000 (17:58 +0200)]
Rvalue::Len

5 years agoImplement unsize array -> slice and trait object -> trait object
bjorn3 [Wed, 22 Aug 2018 13:38:56 +0000 (15:38 +0200)]
Implement unsize array -> slice and trait object -> trait object

5 years agoSupport unsized types
bjorn3 [Wed, 22 Aug 2018 13:38:10 +0000 (15:38 +0200)]
Support unsized types

5 years agoDon't grep away parts of log
bjorn3 [Thu, 23 Aug 2018 09:03:43 +0000 (11:03 +0200)]
Don't grep away parts of log

5 years agoRustup to rustc 1.30.0-nightly (02cb8f2a4 2018-08-29)
bjorn3 [Thu, 30 Aug 2018 18:14:56 +0000 (20:14 +0200)]
Rustup to rustc 1.30.0-nightly (02cb8f2a4 2018-08-29)

5 years agoAdd Caches to FunctionCx
bjorn3 [Sun, 26 Aug 2018 15:14:12 +0000 (17:14 +0200)]
Add Caches to FunctionCx

5 years agoRemove CodegenCx
bjorn3 [Sun, 26 Aug 2018 14:58:52 +0000 (16:58 +0200)]
Remove CodegenCx

5 years agoRemove stabilized feature gate
bjorn3 [Sun, 26 Aug 2018 14:28:00 +0000 (16:28 +0200)]
Remove stabilized feature gate

5 years agoRustfmt
bjorn3 [Fri, 24 Aug 2018 12:54:22 +0000 (14:54 +0200)]
Rustfmt

5 years agoRustup to rustc 1.30.0-nightly (63d66494a 2018-08-23)
bjorn3 [Fri, 24 Aug 2018 12:51:02 +0000 (14:51 +0200)]
Rustup to rustc 1.30.0-nightly (63d66494a 2018-08-23)

5 years ago[PATCH] Disable some more unsupported stuff in libcore
bjorn3 [Thu, 23 Aug 2018 09:00:40 +0000 (11:00 +0200)]
[PATCH] Disable some more unsupported stuff in libcore

5 years agoCodegen all instance types
bjorn3 [Wed, 22 Aug 2018 16:53:57 +0000 (18:53 +0200)]
Codegen all instance types

5 years agoAdd CValue variant ByValPair
bjorn3 [Wed, 22 Aug 2018 10:35:07 +0000 (12:35 +0200)]
Add CValue variant ByValPair

5 years agoRustfmt
bjorn3 [Wed, 22 Aug 2018 10:31:45 +0000 (12:31 +0200)]
Rustfmt

5 years agoUse *_imm in some places
bjorn3 [Wed, 22 Aug 2018 09:45:54 +0000 (11:45 +0200)]
Use *_imm in some places

5 years agoDon't hardcode usize being 64 bit (fixes #8)
bjorn3 [Sat, 18 Aug 2018 15:10:02 +0000 (17:10 +0200)]
Don't hardcode usize being 64 bit (fixes #8)

5 years agoRemove CValue::Func
bjorn3 [Sun, 19 Aug 2018 08:50:39 +0000 (10:50 +0200)]
Remove CValue::Func

5 years agoSupport cross-compiling (untested)
bjorn3 [Sat, 18 Aug 2018 14:36:47 +0000 (16:36 +0200)]
Support cross-compiling (untested)

5 years agoUse instance_mir instead of optimized_mir
bjorn3 [Sat, 18 Aug 2018 14:08:00 +0000 (16:08 +0200)]
Use instance_mir instead of optimized_mir

5 years agoBe honest about data mutability
bjorn3 [Sat, 18 Aug 2018 08:46:29 +0000 (10:46 +0200)]
Be honest about data mutability

5 years agoCodegen entry wrapper (fixes #13)
bjorn3 [Fri, 17 Aug 2018 11:21:03 +0000 (13:21 +0200)]
Codegen entry wrapper (fixes #13)

5 years agoRustfmt
bjorn3 [Fri, 17 Aug 2018 11:01:56 +0000 (13:01 +0200)]
Rustfmt

5 years agoMake CodegenCx generic over Backend
bjorn3 [Fri, 17 Aug 2018 10:57:41 +0000 (12:57 +0200)]
Make CodegenCx generic over Backend

5 years agoRustfmt
bjorn3 [Thu, 16 Aug 2018 18:09:26 +0000 (20:09 +0200)]
Rustfmt

5 years agoFix trait method calls
bjorn3 [Wed, 15 Aug 2018 14:33:19 +0000 (16:33 +0200)]
Fix trait method calls

5 years agoReduce verbosity of output
bjorn3 [Wed, 15 Aug 2018 14:17:59 +0000 (16:17 +0200)]
Reduce verbosity of output

5 years agoDisable some prinln!'s
bjorn3 [Wed, 15 Aug 2018 13:28:08 +0000 (15:28 +0200)]
Disable some prinln!'s

5 years agoChange build.sh
bjorn3 [Wed, 15 Aug 2018 13:23:28 +0000 (15:23 +0200)]
Change build.sh

5 years agoDisable some example which don't compile yet
bjorn3 [Wed, 15 Aug 2018 12:49:36 +0000 (14:49 +0200)]
Disable some example which don't compile yet

5 years agoUse either SimpleJIT or faerie, but not both
bjorn3 [Wed, 15 Aug 2018 12:45:32 +0000 (14:45 +0200)]
Use either SimpleJIT or faerie, but not both

5 years agoFix codegen of SwitchInt
bjorn3 [Wed, 15 Aug 2018 12:36:45 +0000 (14:36 +0200)]
Fix codegen of SwitchInt

5 years agoCraneliftup
bjorn3 [Wed, 15 Aug 2018 10:36:13 +0000 (12:36 +0200)]
Craneliftup

5 years agoPut metadata loader in its own file
bjorn3 [Wed, 15 Aug 2018 10:07:08 +0000 (12:07 +0200)]
Put metadata loader in its own file

5 years agoRustup to rustc 1.30.0-nightly (67390c0c3 2018-08-14)
bjorn3 [Wed, 15 Aug 2018 09:34:35 +0000 (11:34 +0200)]
Rustup to rustc 1.30.0-nightly (67390c0c3 2018-08-14)

5 years agoSupport emitting object files (fixes #5)
bjorn3 [Tue, 14 Aug 2018 20:01:18 +0000 (22:01 +0200)]
Support emitting object files (fixes #5)

5 years agoSupport simplejit and faerie at the same time
bjorn3 [Tue, 14 Aug 2018 18:58:24 +0000 (20:58 +0200)]
Support simplejit and faerie at the same time