File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -30,10 +30,12 @@ fn probe_ssl_certs() {
30
30
/// This is the backend entry point for console applications.
31
31
///
32
32
/// The idea here is that all functionality is implemented in Rust. However, passing
33
- /// command line arguments is done differently in Python or Rust.
33
+ /// command line arguments is done differently in Python, node.js, or Rust.
34
34
///
35
- /// - In python, the ``sys.argv`` list is passed from the ``cpp_linter.entry_point.main()``
36
- /// function to rust via the ``cpp_linter.run.main()`` binding (which wraps [`run_main()`]).
35
+ /// - In python, the `sys.argv` list is passed from the `cpp_linter.main()`
36
+ /// function to rust via the `cpp_linter.main()` binding (which wraps [`run_main()`]).
37
+ /// - In node.js, the `process.argv` array is passed from `cli.js` module to
38
+ /// rust via `index.node` module's `main()` (which wraps([`run_main()`])).
37
39
/// - In rust, the [`std::env::args`] is passed to [`run_main()`] in the binary
38
40
/// source `main.rs`.
39
41
///
You can’t perform that action at this time.
0 commit comments