View erl_nif.rs
1 2 3 4 5 6 7 8 9 10
/* automatically generated by rust-bindgen */
 
pub type ErlNifUInt64 = ::libc::c_ulong;
pub type ErlNifSInt64 = ::libc::c_long;
pub type ERL_NIF_TERM = ::libc::c_ulong;
pub type ERL_NIF_UINT = ERL_NIF_TERM;
pub enum Struct_enif_environment_t { }
pub type ErlNifEnv = Struct_enif_environment_t;
#[repr(C)]
pub struct ErlNifFunc {
View gist:4f9ef949281acfe9d4c7
1 2 3 4 5 6
dialyzer --fullpath --plt /home/tristan/Devel/rebar/.depsolver_plt -Wno_opaque -Wrace_conditions -r ./ebin
Checking whether the PLT /home/tristan/Devel/rebar/.depsolver_plt is up-to-date... yes
Proceeding with analysis...
dialyzer: Analysis failed with error:
Could not scan the following file(s):
Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_version.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_update.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_shell.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_tar.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_release.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_packages.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_new.beam Could not get core Erlang code for: /home/tristan/Devel/rebar/ebin/rebar_prv_lock.beam Could
View gist:dbdd7e8d5a38a93247f8
1 2 3 4 5 6 7 8 9 10
1> beam_lib:chunks("/home/tristan/Devel/rebar/ebin/rebar_prv_version.beam", [compile_info]).
{ok,{rebar_prv_version,
[{compile_info,
[{options,
[{outdir,"ebin"},
debug_info,
{d,namespaced_types},
debug_info,warnings_as_errors,
{i,"include"}]},
{version,"5.0.2"},
View gist:3e024f796bb2fef48674
1 2 3 4 5 6 7 8 9
my_project:
{:foo, git: "https://github.com/elixir-lang/foo.git", tag: "0.1"}
{:bar, git: "https://github.com/elixir-lang/bar.git", tag: "0.1"}
 
foo 0.1:
{:bar, git: "https://github.com/elixir-lang/bar.git", tag: "0.1"}
 
foo 0.2:
{:bar, git: "https://github.com/elixir-lang/bar.git", tag: "0.2"}
View gist:ab748cb69807ac241d26
1 2 3 4 5 6 7
top_level:
cowboy 1.0.0
ranch 1.0.1
 
cowboy 1.0.0:
ranch 1.0.0
cowlib 1.0.0
View gist:4cf90de8b42c7a9f3bd6
1 2 3 4 5 6 7 8 9
%% -*- erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 et
 
-module(dummy).
 
-behaviour(rebar_provider).
 
-export([init/1,
do/1]).
View gist:d4b35b07e8e6cb059689
1 2 3 4 5 6 7 8 9
λ ../rebar/rebar3 compile
===> Compiling minasan
Opts [{outdir,"/home/tristan/Devel/minasan/ebin"},
debug_info,
{i,"rebar/include"},
{i,"/home/tristan/Devel/minasan/include"},
return]
===> Compiling /home/tristan/Devel/minasan/src/dummy.erl failed:
/home/tristan/Devel/minasan/src/dummy.erl:11: can't find include file "rebar.hrl"
View gist:5526383c86def77208b5
1 2 3 4 5 6 7 8 9 10
λ rebar3 new rel myrelease
===> Writing apps/myrelease/src/myrelease_app.erl
===> Writing apps/myrelease/src/myrelease_sup.erl
===> Writing apps/myrelease/src/myrelease.app.src
===> Writing rebar.config
===> Writing relx.config
===> Writing config/sys.config
===> Writing config/vm.args
===> Writing .gitignore
===> Writing LICENSE
View gist:c5e6283d70ee5078198d
  • Top level (source and binary) dep overrides transitive dep of other top level dep
  • Transitive deps at same level conflict, choose newest
  • Transitive deps at different levels conflict, choose closest to root
  • Circular dependencies
View gist:4c53aada321a9f9aa8b4

Locks

If lock file exists do not do any transitive deps handling.

Maybe compare to current rebar.config deps list to see if top level deps have changed and do update.

Dep Ordering

Precedence:

Something went wrong with that request. Please try again.