system_info(nif_version) does not work
Daniel Goertzen <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.bugs |
|---|---|
| Message-ID | <CAJCf5RyfF3MKRrzBoskOt+YnjNaymUGTQiZtnkCV=k6fupjLSg@mail.gmail.com> |
The documentation at...
http://www.erlang.org/doc/man/erlang.html#system_info-1
... says I can get nif version information with
erlang:system_info(nif_version). This does not work. See output below:
$ erl
Erlang/OTP 17 [erts-6.0.1] [source-deacab9] [64-bit] [smp:3:3]
[async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.0.1 (abort with ^G)
1> erlang:system_info(nif_version).
** exception error: bad argument
in function erlang:system_info/1
called as erlang:system_info(nif_version)
2>
I need nif version information because I am looking at NIF modules written
in Rust. I will run a short escript to collect config information for the
Rust build. As a work around I will look at other version information
available though system_info() and make inferences about the NIF
major/minor numbers.
_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs