Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have new err on compile error. #118

Closed
iakuf opened this issue Jul 3, 2021 · 8 comments
Closed

I have new err on compile error. #118

iakuf opened this issue Jul 3, 2021 · 8 comments

Comments

@iakuf
Copy link

iakuf commented Jul 3, 2021

$ cargo run --example minimal
Finished dev [unoptimized + debuginfo] target(s) in 0.03s
Running target/debug/examples/minimal
thread 'main' panicked at 'called Result::unwrap() on an Err value: ()', examples/minimal.rs:18:12
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

@pravic
Copy link
Member

pravic commented Jul 3, 2021

sciter::set_options returns an error? Is this Sciter.JS?

@iakuf
Copy link
Author

iakuf commented Jul 3, 2021

Sciter sdk

@pravic
Copy link
Member

pravic commented Jul 3, 2021

I mean, Sciter.JS or Sciter.TIS?

@iakuf
Copy link
Author

iakuf commented Jul 3, 2021

$ RUST_BACKTRACE=1 cargo run --example minimal
Finished dev [unoptimized + debuginfo] target(s) in 0.01s
Running target/debug/examples/minimal
thread 'main' panicked at 'called Result::unwrap() on an Err value: ()', examples/minimal.rs:18:12
stack backtrace:
0: rust_begin_unwind
at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/std/src/panicking.rs:493:5
1: core::panicking::panic_fmt
at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/panicking.rs:92:14
2: core::result::unwrap_failed
at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/result.rs:1355:5
3: core::result::Result<T,E>::unwrap
at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/result.rs:1037:23
4: minimal::main
at ./examples/minimal.rs:15:2
5: core::ops::function::FnOnce::call_once
at /rustc/53cb7b09b00cbea8754ffb78e7e3cb521cb8af4b/library/core/src/ops/function.rs:227:5
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

my library is libsciter.dylib.
I use Sciter.TIS.
my set library use DYLD_LIBRARY_PATH

@pravic
Copy link
Member

pravic commented Jul 3, 2021

I see, thanks. And what Sciter SDK version?

@iakuf
Copy link
Author

iakuf commented Jul 3, 2021

sorry, my fault. everything is ok if i use new Sciter SDK

@pravic
Copy link
Member

pravic commented Jul 3, 2021

Interesting. Was it because of #107?

@iakuf
Copy link
Author

iakuf commented Jul 3, 2021

yes

@iakuf iakuf closed this as completed Jul 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants