[erlang-bugs] system_info(nif_version) does not work
Daniel Goertzen
daniel.goertzen@REDACTED
Tue Jan 20 22:52:40 CET 2015
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-bugs/attachments/20150120/8c859721/attachment.htm>
More information about the erlang-bugs
mailing list