Skip to content

Commit 813c217

Browse files
committed
Update Docker workflow and fix RUBY_DEBUG reference
- Trigger Docker workflow on docker branches - Fix RUBY_DEBUG path in debug_ruby_assert_type macro
1 parent 718eaf2 commit 813c217

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
push:
77
branches:
88
- main
9+
- *docker*
910
tags:
1011
- v*
1112

crates/rb-sys/src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub(crate) unsafe fn is_ruby_vm_started() -> bool {
4343
#[macro_export]
4444
macro_rules! debug_ruby_assert_type {
4545
($obj:expr, $type:expr, $message:expr) => {
46-
if $crate::RUBY_DEBUG != 0 {
46+
if $crate::uncategorized::RUBY_DEBUG != 0 {
4747
#[allow(clippy::macro_metavars_in_unsafe)]
4848
unsafe {
4949
assert!(

0 commit comments

Comments
 (0)