diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2016-07-25 14:46:09 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2016-08-06 22:03:09 +0200 |
commit | 6eb9e806860129de0184e3d82444043e5055e2b2 (patch) | |
tree | a1adab1eed12e9e3819812137fc08ada2b643481 /ebin | |
parent | 0c6326cc9889a93ad8a1f175ebd9ebe20d2f18a9 (diff) | |
download | rebar-6eb9e806860129de0184e3d82444043e5055e2b2.tar.gz |
Introduce and use compat random number module
In order for rebar to work with previous and current OTP releases, we
generate the rebar_rnd module on startup. rebar_rnd is generated
dynamically to make sure that we use the right random module (either
rand if available or else random). It only wraps the common subset of
the API, but that's sufficient for rebar's use.
Diffstat (limited to 'ebin')
-rw-r--r-- | ebin/rebar.app | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ebin/rebar.app b/ebin/rebar.app index b7be991..4d588bd 100644 --- a/ebin/rebar.app +++ b/ebin/rebar.app @@ -46,7 +46,8 @@ rebar_metacmds, rebar_getopt, rebar_mustache, - rmemo ]}, + rmemo, + rebar_rand_compat ]}, {registered, []}, {applications, [ |