Wyo. Const. art. 1, § 12
No person shall be detained as a witness in any criminal prosecution longer than may be necessary to take his testimony or deposition, nor be confined in any room where criminals are imprisoned.