mirror of
https://github.com/microsoft/regorus.git
synced 2026-08-05 02:16:11 +00:00
- Introduce ExecutionTimer/ExecutionTimerConfig to allow limiting evaluating time. - To amortize time checking costs, checking interval can be configured via the notion of work units - A global fallback time limit can be set to universally limit all evaluation in addition to engine level limit setting. - Implement limnits in interpreter and RVM. In RVM, also handle suspend/resume so that time during pause is not counted. - Add engine-level APIs to set/clear per-engine timer configuration and apply global fallback defaults. - Surface execution-time limits through FFI and C# bindings - Add C# tests and example usage to validate engine overrides, global fallback behavior, and compiled policy enforcement. - Expand docs for execution-time limit - Add interpreter YAML cases and VM unit tests for time-limit behavior and deterministic time sources. Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
44 lines
594 B
Plaintext
44 lines
594 B
Plaintext
# Generated by Cargo
|
|
# will have compiled files and executables
|
|
/target/
|
|
**/wheels/
|
|
**/__pycache__/
|
|
|
|
# These are backup files generated by rustfmt
|
|
**/*.rs.bk
|
|
|
|
# vscode files
|
|
.vscode/
|
|
|
|
# worktrees
|
|
worktrees/
|
|
|
|
# build folders
|
|
**/build
|
|
|
|
# Generated C# bindings
|
|
**/*.g.cs
|
|
|
|
# Generated C, C++ headers
|
|
bindings/ffi/regorus.h
|
|
bindings/ffi/regorus.ffi.hpp
|
|
|
|
bindings/*/target
|
|
|
|
# C# build folders
|
|
**bin
|
|
**obj
|
|
bindings/csharp/.nuget/
|
|
|
|
# Bundler binstubs regenerated during ruby setup
|
|
bindings/ruby/bin/
|
|
|
|
# Visual Studio folders
|
|
**/*.vs
|
|
|
|
# Visual Studio solution files
|
|
*.sln
|
|
|
|
# JetBrains IDEs files
|
|
.idea/
|