Replies: 1 comment
-
I'm wondering about the same question. Currently it doesn't look like it's supported officially. I tried running diff --git a/install.sh b/install.sh
old mode 100644
new mode 100755
index 04f6416..5c13082
--- a/install.sh
+++ b/install.sh
@@ -31,6 +31,12 @@ get_firedbg_version() {
rustc\ 1.81.*)
local _firedbg_version="1.81.0"
;;
+ rustc\ 1.87.*)
+ local _firedbg_version="1.81.0"
+ ;;
+ rustc\ 1.88.*)
+ local _firedbg_version="1.81.0"
+ ;;
*)
err "no precompiled binaries available for $_rustc_version";
;;
$ ./install.sh
info: downloading FireDBG from `https://github.com/SeaQL/FireDBG.for.Rust/releases/download/1.81.0/x86_64-ubuntu20.04.tar.gz`
info: installing FireDBG binaries to `/home/exampleuser/.cargo/bin`
info: performing FireDBG self tests
Updating crates.io index
Downloaded firedbg-lib v0.1.2
Downloaded 1 crate (2.2KiB) in 0.34s
Tracing `firedbg.toml` config file not found, default settings will be applied
Tracing debugger_self_test = { trace = "full" }
Parsed 2 source files; re-cached 2 source files
Compiling firedbg-lib v0.1.2
Compiling debugger_self_test v1.81.0 (/home/exampleuser/.cargo/bin/firedbg-lib/debugger-self-test)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.85s
Running `LD_LIBRARY_PATH="/home/exampleuser/.cargo/bin/firedbg-lib/lib" "/home/exampleuser/.cargo/bin/firedbg-debugger" "run" "/home/exampleuser/.cargo/bin/firedbg-lib/debugger-self-test/target/debug/debugger_self_test" "--workspace-root" "/home/exampleuser/.cargo/bin/firedbg-lib/debugger-self-test" "--output" "/home/exampleuser/.cargo/bin/firedbg-lib/debugger-self-test/output.firedbg.ss" "--package-name" "debugger_self_test" "--package" "./full"`
thread 'main' panicked at debugger/src/debugger.rs:1262:9:
Mismatched `rustc` version: expect `1.81`, found `1.88`. Please install a matching FireDBG version.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Backend error: FileBackendErr: IO Error: No such file or directory (os error 2)
FireDBG: fail to validate FireDBG debugger result Seems that there is a check for supported /// The same `rustc` version must be used to compile the debugger and the target executable.
/// This is due to implicit ABI dependency everywhere.
pub fn check_rustc_version() {
let rustc_version = rustc_version();
if rustc_version != SUPPORTED_RUSTC_VERSION {
panic!("Mismatched `rustc` version: expect `{SUPPORTED_RUSTC_VERSION}`, found `{rustc_version}`. Please install a matching FireDBG version.");
}
} Which is what printed the error above: Mismatched `rustc` version: expect `1.81`, found `1.88`. Please install a matching FireDBG version. So, the pre-packaged version I tried to build it manually on my machine which is running Manjaro Linux (Arch Linux family OS): $ git clone https://github.com/SeaQL/FireDBG.for.Rust.git
$ cd FireDBG.for.Rust/debugger/
$ export CXX=$(which clang++) CXXFLAGS='-I /usr/include/c++/v1/'; cargo build --verbose Note that I had to install packages for LLVM + $ sudo pacman -Sy llvm llvm-libs libc++ If I did not have these installed, or set Expand for
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
rust upgrade to 1.88.0, will support ?
Beta Was this translation helpful? Give feedback.
All reactions