Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
17532874
Unverified
Commit
17532874
authored
Nov 22, 2020
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Nov 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5174 from dearblue/doc
Add brief explanation about `bin/mruby`; ref #5157 [ci skip]
parents
76b036a6
a67b88e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
doc/mruby3.md
doc/mruby3.md
+15
-0
No files found.
doc/mruby3.md
View file @
17532874
...
@@ -83,6 +83,21 @@ changed from previous versions.
...
@@ -83,6 +83,21 @@ changed from previous versions.
Call
`malloc_trim(0)`
from mrb_full_gc() if this macro is defined.
Call
`malloc_trim(0)`
from mrb_full_gc() if this macro is defined.
If you are using glibc malloc, this macro could reduce memory consumption.
If you are using glibc malloc, this macro could reduce memory consumption.
# Command Line Program
## `bin/mruby` (by mrbgems/mruby-bin-mruby)
The mruby3 now automatically detects
`*.mrb`
files without the
`-b`
switch. Therefore, it can be mixed with the
`*.rb`
file in combination
with the
`-r`
switch and specified at the same time.
Here's an example that works fine:
```
console
$
bin/mruby app.mrb
$
bin/mruby
-r
lib1.mrb
-r
lib2.rb app.rb
$
bin/mruby
-r
lib1.rb
-r
lib2.rb < app.mrb
```
# Internal Changes
# Internal Changes
## New Instructions
## New Instructions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment