Skip to content

Instantly share code, notes, and snippets.

@sbeckeriv
Created September 19, 2016 16:04
Show Gist options
  • Save sbeckeriv/3671475129d11fef25af17a270150d6f to your computer and use it in GitHub Desktop.
Save sbeckeriv/3671475129d11fef25af17a270150d6f to your computer and use it in GitHub Desktop.
example
I checked out your repo under examples folder in helix
$ ~/trash/helix/examples/case_transform[master]: pwd
/Users/becker/trash/helix/examples/case_transform
$ ~/trash/helix/examples/case_transform[master]: rustc --version
rustc 1.13.0-nightly (32571c05c 2016-09-17)
$ ~/trash/helix/examples/case_transform[master]: ruby --version
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
$ ~/trash/helix[master*]: cargo build --release
Compiling libc v0.2.11
Compiling cslice v0.1.1 (https://github.com/rustbridge/neon#928b4015)
Compiling libcruby-sys v0.1.0 (file:///Users/becker/trash/helix/crates/libcruby-sys)
Compiling helix v0.1.0 (file:///Users/becker/trash/helix)
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> src/coercions/unit.rs:6:9
|
6 | sys::Qnil
| ^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> src/coercions/bool.rs:18:26
|
18 | if self.inner == Qtrue {
| ^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> src/coercions/bool.rs:29:13
|
29 | Qtrue
| ^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> src/coercions/bool.rs:31:13
|
31 | Qfalse
| ^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> src/lib.rs:78:11
|
78 | Class(sys::rb_cObject)
| ^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
Finished release [optimized] target(s) in 1.33 secs
$ ~/trash/helix[master*]:
$ ~/trash/helix/ruby[master*]: bundle exec rake build
helix_runtime 0.5.0 built to pkg/helix_runtime-0.5.0.gem.
$ ~/trash/helix/examples/case_transform[master]: cd examples/case_transform/
$ ~/trash/helix/examples/case_transform[master]: bundle install
cut
$ ~/trash/helix/examples/case_transform[master]: bundle exec gem install ../../ruby/pkg/helix_runtime-0.5.0.gem
Building native extensions. This could take a while...
Successfully installed helix_runtime-0.5.0
Parsing documentation for helix_runtime-0.5.0
Installing ri documentation for helix_runtime-0.5.0
Done installing documentation for helix_runtime after 0 seconds
1 gem installed
$ ~/trash/helix/examples/case_transform[master]: cargo build --release
Compiling cslice v0.1.1 (https://github.com/rustbridge/neon#928b4015)
Compiling libc v0.2.11
Compiling libcruby-sys v0.1.0 (file:///Users/becker/trash/helix/crates/libcruby-sys)
Compiling helix v0.1.0 (file:///Users/becker/trash/helix)
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> /Users/becker/trash/helix/src/coercions/unit.rs:6:9
|
6 | sys::Qnil
| ^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> /Users/becker/trash/helix/src/coercions/bool.rs:18:26
|
18 | if self.inner == Qtrue {
| ^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> /Users/becker/trash/helix/src/coercions/bool.rs:29:13
|
29 | Qtrue
| ^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> /Users/becker/trash/helix/src/coercions/bool.rs:31:13
|
31 | Qfalse
| ^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
warning: use of extern static requires unsafe function or block (error E0133), #[warn(safe_extern_statics)] on by default
--> /Users/becker/trash/helix/src/lib.rs:78:11
|
78 | Class(sys::rb_cObject)
| ^^^^^^^^^^^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue 36247 <https://github.com/rust-lang/rust/issues/35112>
Finished release [optimized] target(s) in 1.35 secs
$ ~/trash/helix/examples/case_transform[master]:
$ ~/trash/helix/examples/case_transform[master]: bundle exec rake
/Users/becker/.rubies/ruby-2.3.1/bin/ruby -w -I"lib:lib:test" -r./test/test_helper.rb -w -I"/Users/becker/.gem/ruby/2.3.1/gems/rake-11.2.2/lib" "/Users/becker/.gem/ruby/2.3.1/gems/rake-11.2.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
Run options: --seed 53040
# Running:
....
Finished in 0.005152s, 776.3954 runs/s, 11451.8322 assertions/s.
4 runs, 59 assertions, 0 failures, 0 errors, 0 skips
Running RuboCop...
Inspecting 10 files
..........
10 files inspected, no offenses detected
$ ~/trash/helix/examples/case_transform[master]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment