about summary refs log tree commit diff
path: root/src/test/debuginfo/c-style-enum.rs
AgeCommit message (Collapse)AuthorLines
2018-12-25Remove licensesMark Rousskov-10/+0
2018-10-08Run debuginfo tests against rust-enabled lldb, when possibleTom Tromey-7/+16
If the rust-enabled lldb was built, then use it when running the debuginfo tests. Updating the lldb submodule was necessary as this needed a way to differentiate the rust-enabled lldb, so I added a line to the --version output. This adds compiletest commands to differentiate between the rust-enabled and non-rust-enabled lldb, as is already done for gdb. A new "rust-lldb" header directive is also added, but not used in this patch; I plan to use it in #54004. This updates all the tests.
2018-04-26Mark SingleVariant as repr(u8) in c-style-enumAnthony Ramine-0/+1
I should rather properly fix debuginfo but I have no clue how to do that.
2018-01-05Disable failing tests temporarilySam-0/+1
2017-03-09update gdbr testsTim Neumann-7/+14
gdb will now reliably detect the lanugage as rust even before any code is run.
2016-10-31adapt debuginfo tests for gdb with native rust supportTim Neumann-26/+48
2016-04-11tests: update for MIR debuginfo.Eduard Burtescu-1/+2
2015-09-19Feature-gate `#[no_debug]` and `#[omit_gdb_pretty_printer_section]`Andrew Paseltiner-0/+1
Closes #28091.
2015-04-01Fallout in testsNiko Matsakis-3/+3
2015-03-27Fix fallout of removing quotes in crate namesAlex Crichton-11/+11
2015-03-25Ignore some tests on aarch64Sae-bom Kim-0/+1
2015-02-10Enable test/debuginfo on androidEunji Jeong-1/+0
2015-01-02Use `derive` rather than `deriving` in testsNick Cameron-3/+3
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-0/+1
printers enabled.
2014-12-08librustc: Make `Copy` opt-in.Niko Matsakis-0/+3
This change makes the compiler no longer infer whether types (structures and enumerations) implement the `Copy` trait (and thus are implicitly copyable). Rather, you must implement `Copy` yourself via `impl Copy for MyType {}`. A new warning has been added, `missing_copy_implementations`, to warn you if a non-generic public type has been added that could have implemented `Copy` but didn't. For convenience, you may *temporarily* opt out of this behavior by using `#![feature(opt_out_copy)]`. Note though that this feature gate will never be accepted and will be removed by the time that 1.0 is released, so you should transition your code away from using it. This breaks code like: #[deriving(Show)] struct Point2D { x: int, y: int, } fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } Change this code to: #[deriving(Show)] struct Point2D { x: int, y: int, } impl Copy for Point2D {} fn main() { let mypoint = Point2D { x: 1, y: 1, }; let otherpoint = mypoint; println!("{}{}", mypoint, otherpoint); } This is the backwards-incompatible part of #13231. Part of RFC #3. [breaking-change]
2014-11-17Switch to purely namespaced enumsSteven Fackler-0/+4
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-10-31debuginfo: Enable some GDB tests on Windows.Michael Woerister-1/+0
2014-10-31debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.Michael Woerister-3/+0
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
2014-10-28Update code with new lint namesAaron Turon-1/+1
2014-10-22debuginfo: Gate all LLDB debuginfo tests on a minimum LLDB version being ↵Michael Woerister-0/+1
available
2014-08-12Replace "ignore-win32" in tests with "ignore-windows"Vadim Chugunov-1/+1
2014-07-16debuginfo: Add LLDB autotests to debuginfo test suite.Michael Woerister-2/+31
This commit adds LLDB autotests to the test suite but does not activate them by default yet.
2014-05-07debuginfo: Split debuginfo autotests into debuginfo-gdb and debuginfo-lldbMichael Woerister-0/+130